Tag: 8d0514d5631d8ded3fe42c3a16727039b576f18c

Staging rtl8172: Remove unnecessary typecast

Author: Vatika Harlalka <vatikaharlalka@gmail.com> 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 Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8712/hal_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 324da34..0a1c631 100644 — a/drivers/staging/rtl8712/hal_init.c +++ …

Continue reading