summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2
diff options
context:
space:
mode:
authorJoe Perches2010-11-15 21:14:00 +0100
committerGreg Kroah-Hartman2010-11-16 21:06:47 +0100
commit345594d6ef696b8ad4b96cffe462c6cde2f27292 (patch)
treef0e22944818655db3e79870019739ed52af3f9f9 /drivers/staging/wlags49_h2
parentdrivers/staging: Remove unnecessary semicolons (diff)
downloadkernel-qcow2-linux-345594d6ef696b8ad4b96cffe462c6cde2f27292.tar.gz
kernel-qcow2-linux-345594d6ef696b8ad4b96cffe462c6cde2f27292.tar.xz
kernel-qcow2-linux-345594d6ef696b8ad4b96cffe462c6cde2f27292.zip
drivers/staging: Remove unnecessary casts of pci_get_drvdata
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2')
-rw-r--r--drivers/staging/wlags49_h2/wl_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlags49_h2/wl_pci.c b/drivers/staging/wlags49_h2/wl_pci.c
index 020b17adee2d..28ae9dd1b44e 100644
--- a/drivers/staging/wlags49_h2/wl_pci.c
+++ b/drivers/staging/wlags49_h2/wl_pci.c
@@ -458,7 +458,7 @@ void __devexit wl_pci_remove(struct pci_dev *pdev)
return;
}
- dev = (struct net_device *)pci_get_drvdata( pdev );
+ dev = pci_get_drvdata( pdev );
if( dev == NULL ) {
DBG_ERROR( DbgInfo, "Could not retrieve net_device structure\n" );
return;