usb: image: microtek.c: Remove unused variable
Remove unused variable "err" from mts_scsi_queuecommand_lck(). Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/20191005054931.GA11565@saurav Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dd3fd317e2
commit
a570ec7964
|
@ -566,7 +566,6 @@ static int
|
|||
mts_scsi_queuecommand_lck(struct scsi_cmnd *srb, mts_scsi_cmnd_callback callback)
|
||||
{
|
||||
struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]);
|
||||
int err = 0;
|
||||
int res;
|
||||
|
||||
MTS_DEBUG_GOT_HERE();
|
||||
|
@ -613,7 +612,7 @@ mts_scsi_queuecommand_lck(struct scsi_cmnd *srb, mts_scsi_cmnd_callback callback
|
|||
|
||||
}
|
||||
out:
|
||||
return err;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static DEF_SCSI_QCMD(mts_scsi_queuecommand)
|
||||
|
|
Loading…
Reference in a new issue