Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: Ethan Nelson-Moore <enelsonmoore@gmail.com>
To: linux-scsi@vger.kernel.org
Cc: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Subject: [PATCH 3/5] scsi: aic94xx: remove unused ENTER/EXIT macros
Date: Fri, 19 Dec 2025 21:16:00 -0800	[thread overview]
Message-ID: <20251220051602.28029-3-enelsonmoore@gmail.com> (raw)
In-Reply-To: <20251220051602.28029-1-enelsonmoore@gmail.com>

Also remove the ASD_ENTER_EXIT definition which enables them.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
 drivers/scsi/aic94xx/Makefile  |  2 +-
 drivers/scsi/aic94xx/aic94xx.h | 10 ----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/drivers/scsi/aic94xx/Makefile b/drivers/scsi/aic94xx/Makefile
index db9fbe3a8e4c..a6894138dfcf 100644
--- a/drivers/scsi/aic94xx/Makefile
+++ b/drivers/scsi/aic94xx/Makefile
@@ -6,7 +6,7 @@
 # Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
 #
 
-ccflags-$(CONFIG_AIC94XX_DEBUG) := -DASD_DEBUG -DASD_ENTER_EXIT
+ccflags-$(CONFIG_AIC94XX_DEBUG) := -DASD_DEBUG
 
 obj-$(CONFIG_SCSI_AIC94XX) += aic94xx.o
 aic94xx-y += aic94xx_init.o \
diff --git a/drivers/scsi/aic94xx/aic94xx.h b/drivers/scsi/aic94xx/aic94xx.h
index f595bc2ee45e..722fdd7cee11 100644
--- a/drivers/scsi/aic94xx/aic94xx.h
+++ b/drivers/scsi/aic94xx/aic94xx.h
@@ -20,16 +20,6 @@
 
 #define asd_printk(fmt, ...)	printk(KERN_NOTICE ASD_DRIVER_NAME ": " fmt, ## __VA_ARGS__)
 
-#ifdef ASD_ENTER_EXIT
-#define ENTER  printk(KERN_NOTICE "%s: ENTER %s\n", ASD_DRIVER_NAME, \
-		__func__)
-#define EXIT   printk(KERN_NOTICE "%s: --EXIT %s\n", ASD_DRIVER_NAME, \
-		__func__)
-#else
-#define ENTER
-#define EXIT
-#endif
-
 #ifdef ASD_DEBUG
 #define ASD_DPRINTK asd_printk
 #else
-- 
2.43.0


  parent reply	other threads:[~2025-12-20  5:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-20  5:15 [PATCH 1/5] scsi: ips: remove function tracing macros Ethan Nelson-Moore
2025-12-20  5:15 ` [PATCH 2/5] scsi: ibmvfc: " Ethan Nelson-Moore
2025-12-20  5:16 ` Ethan Nelson-Moore [this message]
2025-12-20  5:16 ` [PATCH 4/5] scsi: ipr: " Ethan Nelson-Moore
2025-12-20  5:16 ` [PATCH 5/5] scsi: qla1280: " Ethan Nelson-Moore
2025-12-21  5:45   ` kernel test robot
2025-12-22 12:55   ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251220051602.28029-3-enelsonmoore@gmail.com \
    --to=enelsonmoore@gmail.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox