Skip to contentSkip to conversation

aic7xxx: Clean up errors in aic7xxx_inline.h

PATCH New [email protected] 1 participant 1 message Sep 27, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 drivers/scsi/aic7xxx/aic7xxx_inline.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/aic7xxx/aic7xxx_inline.h +1 -1
index 0b57b783ef41..eef58b84a750 100644
@@ -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 ***********************/
Signature · 1 line
2.17.1