[<prev] [next>] [day] [month] [year] [list]
Message-ID: <25cd9e8299995ff3c35379221b7f0270@208suo.com>
Date:   Thu, 20 Jul 2023 13:55:26 +0800
From:   sunran001@...suo.com
To:     jejb@...ux.ibm.com, martin.petersen@...cle.com, hare@...e.com
Cc:     linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h
Fix "return is not a function, parentheses are not required" checkpatch
error.
Signed-off-by: Ran Sun <sunran001@...suo.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
Powered by blists - more mailing lists
 
