aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/datafab.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/storage/datafab.c')
-rw-r--r--drivers/usb/storage/datafab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/storage/datafab.c b/drivers/usb/storage/datafab.c
index 2b6e565262c2..ded836b02d7b 100644
--- a/drivers/usb/storage/datafab.c
+++ b/drivers/usb/storage/datafab.c
@@ -334,7 +334,7 @@ static int datafab_determine_lun(struct us_data *us,
334 unsigned char *buf; 334 unsigned char *buf;
335 int count = 0, rc; 335 int count = 0, rc;
336 336
337 if (!us || !info) 337 if (!info)
338 return USB_STOR_TRANSPORT_ERROR; 338 return USB_STOR_TRANSPORT_ERROR;
339 339
340 memcpy(command, scommand, 8); 340 memcpy(command, scommand, 8);
@@ -399,7 +399,7 @@ static int datafab_id_device(struct us_data *us,
399 unsigned char *reply; 399 unsigned char *reply;
400 int rc; 400 int rc;
401 401
402 if (!us || !info) 402 if (!info)
403 return USB_STOR_TRANSPORT_ERROR; 403 return USB_STOR_TRANSPORT_ERROR;
404 404
405 if (info->lun == -1) { 405 if (info->lun == -1) {