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
parent
a5b6f60c5a
commit
cdc9779228
@@ -443,7 +443,7 @@ urbs:
|
||||
static void acm_write_bulk(struct urb *urb)
|
||||
{
|
||||
struct acm *acm;
|
||||
struct acm_wb *wb = (struct acm_wb *)urb->context;
|
||||
struct acm_wb *wb = urb->context;
|
||||
|
||||
dbg("Entering acm_write_bulk with status %d", urb->status);
|
||||
|
||||
|
Reference in New Issue
Block a user