diff mbox series

scsi: qla4xxx: remove unneeded semicolon in ql4_os.c

Message ID 20200421034038.28113-1-yanaijie@huawei.com (mailing list archive)
State Mainlined
Commit 9b77c9da6a1f0bd89f130710671b2396239b1ee4
Headers show
Series scsi: qla4xxx: remove unneeded semicolon in ql4_os.c | expand

Commit Message

Jason Yan April 21, 2020, 3:40 a.m. UTC
Fix the following coccicheck warning:

drivers/scsi/qla4xxx/ql4_os.c:969:3-4: Unneeded semicolon

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/scsi/qla4xxx/ql4_os.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen April 27, 2020, 8:21 p.m. UTC | #1
On Tue, 21 Apr 2020 11:40:38 +0800, Jason Yan wrote:

> Fix the following coccicheck warning:
> 
> drivers/scsi/qla4xxx/ql4_os.c:969:3-4: Unneeded semicolon

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: qla4xxx: Remove unneeded semicolon in ql4_os.c
      https://git.kernel.org/mkp/scsi/c/9b77c9da6a1f
diff mbox series

Patch

diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 5504ab11decc..5dc697ce8b5d 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -966,7 +966,7 @@  static int qla4xxx_set_chap_entry(struct Scsi_Host *shost, void *data, int len)
 				   "%s: No such sysfs attribute\n", __func__);
 			rc = -ENOSYS;
 			goto exit_set_chap;
-		};
+		}
 	}
 
 	if (chap_rec.chap_type == CHAP_TYPE_IN)