[<prev] [next>] [day] [month] [year] [list]
Message-ID: <34038f6a.87a.18ad56cccfe.Coremail.chenguohua@jari.cn>
Date: Wed, 27 Sep 2023 14:56:31 +0800 (GMT+08:00)
From: chenguohua@...i.cn
To: hare@...e.com, jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] [SCSI] aic7xxx: Clean up errors in aic7xxx_inline.h
Fix the following errors reported by checkpatch:
ERROR: return is not a function, parentheses are not required
Signed-off-by: GuoHua Cheng <chenguohua@...i.cn>
---
drivers/scsi/aic7xxx/aic7xxx_inline.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx_inline.h b/drivers/scsi/aic7xxx/aic7xxx_inline.h
index 0b57b783ef41..eef58b84a750 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_inline.h
+++ b/drivers/scsi/aic7xxx/aic7xxx_inline.h
@@ -59,7 +59,7 @@ static inline char *ahc_name(struct ahc_softc *ahc);
static inline char *ahc_name(struct ahc_softc *ahc)
{
- return (ahc->name);
+ return ahc->name;
}
/*********************** Miscellaneous Support Functions ***********************/
--
2.17.1
Powered by blists - more mailing lists