aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl8192e
diff options
context:
space:
mode:
authorJanani Ravichandran <janani.rvchndrn@gmail.com>2016-02-25 14:56:33 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-11 22:09:09 -0800
commit314e4be76e20f1d799ee386380623375b0555372 (patch)
tree7eb4476d7c9f37b63d64a5f819060d985d493094 /drivers/staging/rtl8192e/rtl8192e
parentstaging: rtl8192e: rtl8192e: Remove create_workqueue() (diff)
downloadlinux-dev-314e4be76e20f1d799ee386380623375b0555372.tar.xz
linux-dev-314e4be76e20f1d799ee386380623375b0555372.zip
staging: rtl8192e: Drop cast on void pointer
Void pointers need not be cast to other pointer types. Semantic patch used: @r@ expression x; void *e; type T; identifier f; @@ ( *((T *)e) | ((T *)x) [...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e')
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index bb6b62f1a260..9b7cc7dc7cb8 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -2401,7 +2401,7 @@ out:
static irqreturn_t _rtl92e_irq(int irq, void *netdev)
{
- struct net_device *dev = (struct net_device *) netdev;
+ struct net_device *dev = netdev;
struct r8192_priv *priv = rtllib_priv(dev);
unsigned long flags;
u32 inta;