mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sunran001@208suo.com
To: jejb@linux.ibm.com, martin.petersen@oracle.com, hare@suse.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 13:55:26 +0800	[thread overview]
Message-ID: <25cd9e8299995ff3c35379221b7f0270@208suo.com> (raw)
In-Reply-To: <20230720055410.2271-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/aicasm/aicasm_symbol.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 
b/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
index 975fcfcc0d8f..c8170bbd67da 100644
--- a/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
+++ b/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
@@ -74,7 +74,7 @@ symbol_create(char *name)
  		 stop("Unable to strdup symbol name", EX_SOFTWARE);
  	new_symbol->type = UNINITIALIZED;
  	new_symbol->count = 1;
-	return (new_symbol);
+	return new_symbol;
  }

  void

       reply	other threads:[~2023-07-20  5:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230720055410.2271-1-xujianghui@cdjrlc.com>
2023-07-20  5:55 ` sunran001 [this message]
     [not found] <20230720070343.2926-1-xujianghui@cdjrlc.com>
2023-07-20  7:04 ` sunran001
     [not found] <20230720070717.3013-1-xujianghui@cdjrlc.com>
2023-07-20  7:10 ` [PATCH] [SCSI] " 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=25cd9e8299995ff3c35379221b7f0270@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®