git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'writeback' of git://git.kernel.dk/linux-2.6-block
[pandora-kernel.git]
/
drivers
/
usb
/
storage
/
datafab.c
diff --git
a/drivers/usb/storage/datafab.c
b/drivers/usb/storage/datafab.c
index
2b6e565
..
ded836b
100644
(file)
--- 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,
unsigned char *buf;
int count = 0, rc;
unsigned char *buf;
int count = 0, rc;
- if (!
us || !
info)
+ if (!info)
return USB_STOR_TRANSPORT_ERROR;
memcpy(command, scommand, 8);
return USB_STOR_TRANSPORT_ERROR;
memcpy(command, scommand, 8);
@@
-399,7
+399,7
@@
static int datafab_id_device(struct us_data *us,
unsigned char *reply;
int rc;
unsigned char *reply;
int rc;
- if (!
us || !
info)
+ if (!info)
return USB_STOR_TRANSPORT_ERROR;
if (info->lun == -1) {
return USB_STOR_TRANSPORT_ERROR;
if (info->lun == -1) {