|
@@ -1440,10 +1440,8 @@ int usb_stor_get_info(struct usb_device *dev, struct us_data *ss,
|
|
" Request Sense returned %02X %02X %02X\n",
|
|
" Request Sense returned %02X %02X %02X\n",
|
|
pccb->sense_buf[2], pccb->sense_buf[12],
|
|
pccb->sense_buf[2], pccb->sense_buf[12],
|
|
pccb->sense_buf[13]);
|
|
pccb->sense_buf[13]);
|
|
- if (dev_desc->removable == 1) {
|
|
|
|
|
|
+ if (dev_desc->removable == 1)
|
|
dev_desc->type = perq;
|
|
dev_desc->type = perq;
|
|
- return 1;
|
|
|
|
- }
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
pccb->pdata = (unsigned char *)cap;
|
|
pccb->pdata = (unsigned char *)cap;
|