Staging rtl8172: Remove unnecessary typecast
authorVatika Harlalka <vatikaharlalka@gmail.com>
Mon, 9 Mar 2015 08:54:42 +0000 (14:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2015 12:37:22 +0000 (13:37 +0100)
commit8d0514d5631d8ded3fe42c3a16727039b576f18c
treed74676dcbc27c2adb3e7d7e984cb50fd1290544b
parentc89ca085a5b287acd3bbf35d4cb6be392ae0798f
Staging rtl8172: Remove unnecessary typecast

Using addressof and then casting to the original type is unneeded.
So these casts can be removed.
Issue detected via Coccinelle script.

Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c