mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
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>
This commit is contained in:
parent
ecfdd3a010
commit
314e4be76e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user