|
@@ -794,10 +794,8 @@ static int usb_stor_acquire_resources(struct us_data *us)
|
|
struct task_struct *th;
|
|
struct task_struct *th;
|
|
|
|
|
|
us->current_urb = usb_alloc_urb(0, GFP_KERNEL);
|
|
us->current_urb = usb_alloc_urb(0, GFP_KERNEL);
|
|
- if (!us->current_urb) {
|
|
|
|
- usb_stor_dbg(us, "URB allocation failed\n");
|
|
|
|
|
|
+ if (!us->current_urb)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
- }
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* Just before we start our control thread, initialize
|
|
* Just before we start our control thread, initialize
|