USB: remove unnecessary type casting of urb->context
urb->context code cleanup Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

orang tua
a5b6f60c5a
melakukan
cdc9779228
@@ -110,7 +110,7 @@
|
||||
*/
|
||||
static void usb_stor_blocking_completion(struct urb *urb)
|
||||
{
|
||||
struct completion *urb_done_ptr = (struct completion *)urb->context;
|
||||
struct completion *urb_done_ptr = urb->context;
|
||||
|
||||
complete(urb_done_ptr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user