summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/include/cs/bfa_checksum.h
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2009-09-25 12:29:54 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 12:00:09 -0600
commitf8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e (patch)
tree8c726ba2d6511a2a2be1adbd41af1cf09ecffb1d /drivers/scsi/bfa/include/cs/bfa_checksum.h
parent8798a694da59486e4a3ff0abeec183202fb34c20 (diff)
downloadblackbird-obmc-linux-f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e.tar.gz
blackbird-obmc-linux-f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e.zip
[SCSI] bfa: fixed checkpatch errors for bfad files
This patch fixes checkpatch errors/warnings in bfad files. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/include/cs/bfa_checksum.h')
-rw-r--r--drivers/scsi/bfa/include/cs/bfa_checksum.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/include/cs/bfa_checksum.h b/drivers/scsi/bfa/include/cs/bfa_checksum.h
index af8c1d533ba8..650f8d0aaff9 100644
--- a/drivers/scsi/bfa/include/cs/bfa_checksum.h
+++ b/drivers/scsi/bfa/include/cs/bfa_checksum.h
@@ -31,7 +31,7 @@ bfa_checksum_u32(u32 *buf, int sz)
for (i = 0; i < m; i++)
sum ^= buf[i];
- return (sum);
+ return sum;
}
static inline u16
@@ -43,7 +43,7 @@ bfa_checksum_u16(u16 *buf, int sz)
for (i = 0; i < m; i++)
sum ^= buf[i];
- return (sum);
+ return sum;
}
static inline u8
@@ -55,6 +55,6 @@ bfa_checksum_u8(u8 *buf, int sz)
for (i = 0; i < sz; i++)
sum ^= buf[i];
- return (sum);
+ return sum;
}
#endif
OpenPOWER on IntegriCloud