Message ID | 1618285360-99965-1-git-send-email-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | Deferred |
Headers | show |
Series | [v2] scsi: ipr: remove unneeded semicolon | expand |
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 783ee03..6c29113 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h @@ -1976,7 +1976,7 @@ static inline int ipr_sdt_is_fmt2(u32 sdt_word) case IPR_SDT_FMT2_BAR5_SEL: case IPR_SDT_FMT2_EXP_ROM_SEL: return 1; - }; + } return 0; }
Eliminate the following coccicheck warning: ./drivers/scsi/ipr.h:1979:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> --- Change in v2: --One patch per driver drivers/scsi/ipr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)