Skip to contentSkip to conversation

aic7xxx: Remove unnecessary parentheses in hyperv.h

PATCH New [email protected] 1 participant 1 message Jul 20, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 aic7xxx: Remove unnecessary parentheses in hyperv.h

Fix "return is not a function, parentheses are not required" checkpatch error.

---
 drivers/scsi/aic7xxx/aic79xx_inline.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/aic7xxx/aic79xx_inline.h +1 -1
index 09335a3c8691..7644e3d2ec22 100644
@@ -50,7 +50,7 @@ static inline char *ahd_name(struct ahd_softc *ahd);
 
 static inline char *ahd_name(struct ahd_softc *ahd)
 {
-	return (ahd->name);
+	return ahd->name;
 }
 
 /************************ Sequencer Execution Control 

*************************/
@@ -157,13 +157,13 @@ do { \
static inline uint8_t *
ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb) {
- return (scb->sense_data);
+ return scb->sense_data;
}

static inline uint32_t
ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb) {
- return (scb->sense_busaddr);
+ return scb->sense_busaddr;
}

/************************** Interrupt Processing
******************************/