diff options
author | Tom Rini <trini@konsulko.com> | 2017-04-14 10:58:49 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-14 10:58:49 -0400 |
commit | bdf1ea11c8d8789bf95a284d6c980eafea13d94c (patch) | |
tree | a1fbac65f79da78b8c25f54ef9712865e2e815bb /common | |
parent | c1a16c3ab541c014b029b42cc27cae496107e170 (diff) | |
parent | 1e5eca7d422563df91a54e270c297b0c465f2659 (diff) | |
download | u-boot-bdf1ea11c8d8789bf95a284d6c980eafea13d94c.tar.gz |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'common')
-rw-r--r-- | common/usb_storage.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c index b524a15e2b..83279c449d 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -1440,10 +1440,8 @@ int usb_stor_get_info(struct usb_device *dev, struct us_data *ss, " Request Sense returned %02X %02X %02X\n", pccb->sense_buf[2], pccb->sense_buf[12], pccb->sense_buf[13]); - if (dev_desc->removable == 1) { + if (dev_desc->removable == 1) dev_desc->type = perq; - return 1; - } return 0; } pccb->pdata = (unsigned char *)cap; |