]> git.karo-electronics.de Git - linux-beck.git/commit
gdm72xx: remove unnecessary cast in gdm_wimax.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Wed, 22 May 2013 15:41:21 +0000 (18:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2013 22:33:14 +0000 (15:33 -0700)
commit9ef4090385a0c35192229ca77c9de273824040b4
treeb4963e9fa82b9a405be6ca0799cd300ffe319395
parent631ae9054d148ff474d442d73309d9ea2a6ea7e6
gdm72xx: remove unnecessary cast in gdm_wimax.c

This patch removes an unnecessary cast on the return value
of alloc_netdev(), since alloc_netdev() returns a pointer
to the allocated struct net_device anyway.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_wimax.c