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: Remove unnecessary parentheses in hyperv.h
Date: Thu, 20 Jul 2023 15:10:20 +0800 [thread overview]
Message-ID: <999e85cf01a7117c2c968831ec703730@208suo.com> (raw)
In-Reply-To: <20230720070717.3013-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/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
******************************/
next parent reply other threads:[~2023-07-20 7:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230720070717.3013-1-xujianghui@cdjrlc.com>
2023-07-20 7:10 ` sunran001 [this message]
[not found] <20230720070343.2926-1-xujianghui@cdjrlc.com>
2023-07-20 7:04 ` [PATCH] scsi: " sunran001
[not found] <20230720055410.2271-1-xujianghui@cdjrlc.com>
2023-07-20 5:55 ` sunran001
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=999e85cf01a7117c2c968831ec703730@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®