All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: qla4xxx: remove unneeded semicolon in ql4_os.c
@ 2020-04-21  3:40 Jason Yan
  2020-04-27 20:21 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-21  3:40 UTC (permalink / raw)
  To: QLogic-Storage-Upstream, jejb, martin.petersen, linux-scsi, linux-kernel
  Cc: Jason Yan

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(-)

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)
-- 
2.21.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: qla4xxx: remove unneeded semicolon in ql4_os.c
  2020-04-21  3:40 [PATCH] scsi: qla4xxx: remove unneeded semicolon in ql4_os.c Jason Yan
@ 2020-04-27 20:21 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2020-04-27 20:21 UTC (permalink / raw)
  To: linux-kernel, jejb, QLogic-Storage-Upstream, linux-scsi, Jason Yan
  Cc: Martin K . Petersen

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

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-27 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21  3:40 [PATCH] scsi: qla4xxx: remove unneeded semicolon in ql4_os.c Jason Yan
2020-04-27 20:21 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.