Skip to contentSkip to conversation

scsi: bnx2fc: remove unneeded semicolon

PATCH Applied [email protected] 3 participants 4 messages Nov 1, 2020 – Nov 11, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: bnx2fc: remove unneeded semicolon

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c +1 -1
index 6890bbe04a8c..a436adb6092d 100644
@@ -2275,7 +2275,7 @@ static int bnx2fc_ctlr_enabled(struct fcoe_ctlr_device *cdev)
 	case FCOE_CTLR_UNUSED:
 	default:
 		return -ENOTSUPP;
-	};
+	}
 }
 
 enum bnx2fc_create_link_state {
Signature · 1 line
2.18.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi Tom,

Quoted 28 lines

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Sunday, November 1, 2020 8:08 PM
To: Saurav Kashyap <[email protected]>; Javed Hasan <[email protected]>; [email protected]; [email protected]
Cc: GR-QLogic-Storage-Upstream <GR-QLogic-Storage- [email protected]>; [email protected]; linux- [email protected]; Tom Rix <[email protected]>
Subject: [EXT] [PATCH] scsi: bnx2fc: remove unneeded semicolon

External Email

----------------------------------------------------------------------
From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c +0 -0
index 6890bbe04a8c..a436adb6092d 100644

drivers/scsi/bnx2fc/bnx2fc_fcoe.c static int bnx2fc_ctlr_enabled(struct · line 2280

Quoted 7 lines
drivers/scsi/bnx2fc/bnx2fc_fcoe.c +1 -1
@@ -2275,7 +2275,7 @@ static int bnx2fc_ctlr_enabled(struct
 fcoe_ctlr_device *cdev)
 	case FCOE_CTLR_UNUSED:
 	default:
 		return -ENOTSUPP;
-	};
+	}
 }

Thanks for a patch.

Thanks,
~Saurav

Quoted 4 lines
drivers/scsi/bnx2fc/bnx2fc_fcoe.c +0 -1
 enum bnx2fc_create_link_state {
--

2.18.1