Message ID | 20200911091049.2938158-1-yanaijie@huawei.com |
---|---|
State | New |
Headers | show |
Series | scsi: nsp32: remove unneeded semicolon | expand |
Jason, > This addresses the following coccinelle warning: > > drivers/scsi/nsp32.c:1250:4-5: Unneeded semicolon > drivers/scsi/nsp32.c:1842:2-3: Unneeded semicolon Applied to 5.10/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering
On Fri, 11 Sep 2020 17:10:49 +0800, Jason Yan wrote: > This addresses the following coccinelle warning: > > drivers/scsi/nsp32.c:1250:4-5: Unneeded semicolon > drivers/scsi/nsp32.c:1842:2-3: Unneeded semicolon Applied to 5.10/scsi-queue, thanks! [1/1] scsi: nsp32: Remove unneeded semicolon https://git.kernel.org/mkp/scsi/c/94e476520e1e -- Martin K. Petersen Oracle Linux Engineering
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index b6e04d14292d..da814c2da16d 100644 --- a/drivers/scsi/nsp32.c +++ b/drivers/scsi/nsp32.c @@ -1247,7 +1247,7 @@ static irqreturn_t do_nsp32_isr(int irq, void *dev_id) * ---> AutoSCSI with MSGOUTreg is processed. */ data->msgout_len = 0; - }; + } nsp32_dbg(NSP32_DEBUG_INTR, "MsgOut phase processed"); } @@ -1839,7 +1839,7 @@ static void nsp32_msgout_occur(struct scsi_cmnd *SCpnt) nsp32_dbg(NSP32_DEBUG_MSGOUTOCCUR, "bus: 0x%x\n", nsp32_read1(base, SCSI_BUS_MONITOR)); - }; + } data->msgout_len = 0;
This addresses the following coccinelle warning: drivers/scsi/nsp32.c:1250:4-5: Unneeded semicolon drivers/scsi/nsp32.c:1842:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> --- drivers/scsi/nsp32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)