* [PATCH] [SCSI] aic7xxx: Clean up errors in aic7xxx_inline.h
@ 2023-09-27 6:56 chenguohua
0 siblings, 0 replies; only message in thread
From: chenguohua @ 2023-09-27 6:56 UTC (permalink / raw)
To: hare, jejb, martin.petersen; +Cc: linux-scsi, linux-kernel
Fix the following errors reported by checkpatch:
ERROR: return is not a function, parentheses are not required
Signed-off-by: GuoHua Cheng <chenguohua@jari.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-27 6:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 6:56 [PATCH] [SCSI] aic7xxx: Clean up errors in aic7xxx_inline.h chenguohua
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®