staging: ks7010: bail out when registering netdevice fails
authorWolfram Sang <wsa@the-dreams.de>
Fri, 17 Jun 2016 08:46:58 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:45:55 +0000 (19:45 -0700)
commit3fb54d7590a4a4d4cf99279c5c228bea788b9628
treeeab96e19f28ae7ce8cbf861a011b334a2ee30918
parent4c0d46d2cf62c9cd199cc3323d0b670e7b755650
staging: ks7010: bail out when registering netdevice fails

There is no need to continue then. Also, this enables us to remove an
ugly static variable.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c