From: sunran001@208suo.com
To: hare@suse.com, jejb@linux.ibm.com, martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] scsi: aic7xxx: aic79xx: Remove unnecessary parentheses
Date: Thu, 20 Jul 2023 17:09:51 +0800 [thread overview]
Message-ID: <5663619f5f713c1ad99efbb8fa53bbb1@208suo.com> (raw)
In-Reply-To: <20230720090839.3506-1-xujianghui@cdjrlc.com>
Fix "return is not a function, parentheses are not required" checkpatch
error.
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/scsi/aic7xxx/aic7xxx_93cx6.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
b/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
index 11ddffbcc2f3..0d3c33322eb5 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
@@ -236,7 +236,7 @@ ahc_write_seeprom(struct seeprom_descriptor *sd,
uint16_t *buf,
} else {
printk("ahc_write_seeprom: unsupported seeprom type %d\n",
sd->sd_chip);
- return (0);
+ return 0;
}
send_seeprom_cmd(sd, ewen);
@@ -292,7 +292,7 @@ ahc_write_seeprom(struct seeprom_descriptor *sd,
uint16_t *buf,
send_seeprom_cmd(sd, ewds);
reset_seeprom(sd);
- return (1);
+ return 1;
}
int
@@ -311,8 +311,8 @@ ahc_verify_cksum(struct seeprom_config *sc)
checksum = checksum + scarray[i];
if (checksum == 0
|| (checksum & 0xFFFF) != sc->checksum) {
- return (0);
+ return 0;
} else {
- return(1);
+ return 1;
}
}
parent reply other threads:[~2023-07-20 9:26 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20230720090839.3506-1-xujianghui@cdjrlc.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5663619f5f713c1ad99efbb8fa53bbb1@208suo.com \
--to=sunran001@208suo.com \
--cc=hare@suse.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®