[PATCH] [SCSI] aic7xxx: Remove unnecessary parentheses in hyperv.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
---
 drivers/scsi/aic7xxx/aic79xx_inline.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/aic7xxx/aic79xx_inline.h b/drivers/scsi/aic7xxx/aic79xx_inline.h
index 09335a3c8691..7644e3d2ec22 100644
--- a/drivers/scsi/aic7xxx/aic79xx_inline.h
+++ b/drivers/scsi/aic7xxx/aic79xx_inline.h
@@ -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 ******************************/



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux