Re: [PATCH] usb: image: microtek: Unneeded variable: "err". Return "0" on line 616
From: Oliver Neukum
Date: Tue Jul 02 2019 - 05:41:49 EST
Am Montag, den 01.07.2019, 23:29 +0530 schrieb Hariprasad Kelam:
> Fix below issue reported by coccicheck
> drivers/usb/image/microtek.c:569:5-8: Unneeded variable: "err". Return
> "0" on line 616
>
> We can not change return type of mts_scsi_queuecommand_lck as it is part
> of DEF_SCSI_QCMD
>
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam@xxxxxxxxx>
Acked-by: Oliver Neukum <oneukum@xxxxxxxx>