diff options
author | Joe Perches <joe@perches.com> | 2010-11-30 22:42:08 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-02 21:16:47 +0100 |
commit | b2767363192d5937e0f61f05b1b6b881da9ee55a (patch) | |
tree | 98a4ac637246cb964a5c70c96c6b90ee9a67b632 /drivers/net/wireless/ath/carl9170 | |
parent | b43: N-PHY: fix code path on PHY init (diff) | |
download | linux-b2767363192d5937e0f61f05b1b6b881da9ee55a.tar.xz linux-b2767363192d5937e0f61f05b1b6b881da9ee55a.zip |
wireless: Remove unnecessary casts of usb_get_intfdata
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/carl9170/usb.c b/drivers/net/wireless/ath/carl9170/usb.c index a268053e18e5..2d947a30d29e 100644 --- a/drivers/net/wireless/ath/carl9170/usb.c +++ b/drivers/net/wireless/ath/carl9170/usb.c @@ -160,8 +160,7 @@ err_acc: static void carl9170_usb_tx_data_complete(struct urb *urb) { - struct ar9170 *ar = (struct ar9170 *) - usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); + struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); if (WARN_ON_ONCE(!ar)) { dev_kfree_skb_irq(urb->context); |