diff options
author | Lisa Nguyen <lisa@xenapiadmin.com> | 2013-10-29 14:19:50 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-29 17:03:40 -0700 |
commit | 2fef7e13c88698c165d42778abce3bb95f2238ea (patch) | |
tree | 19141b59a9ff2239b22673c0325b0680773d5769 /drivers/staging/bcm/InterfaceTx.c | |
parent | f0ac9bebf19001f38afbb93e2dc719a15dfb75e5 (diff) | |
download | linux-2fef7e13c88698c165d42778abce3bb95f2238ea.tar.bz2 |
staging: bcm: Remove unnecessary pointer casting
Some void pointers can be assigned to other
pointer variables in functions without casting.
Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/InterfaceTx.c')
-rw-r--r-- | drivers/staging/bcm/InterfaceTx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/InterfaceTx.c b/drivers/staging/bcm/InterfaceTx.c index 3457954d0982..b9c2784e9811 100644 --- a/drivers/staging/bcm/InterfaceTx.c +++ b/drivers/staging/bcm/InterfaceTx.c @@ -184,7 +184,7 @@ int InterfaceTransmitPacket(PVOID arg, PVOID data, UINT len) { struct bcm_usb_tcb *pTcb= NULL; - struct bcm_interface_adapter *psIntfAdapter = (struct bcm_interface_adapter *)arg; + struct bcm_interface_adapter *psIntfAdapter = arg; pTcb= GetBulkOutTcb(psIntfAdapter); if(pTcb == NULL) { |