]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24484f4db8816cf7f3825c1abcc23fedc6e61e0b
treeeab96e19f28ae7ce8cbf861a011b334a2ee30918
parentbc2ba32644b5ff95a323d53abd51ae976d0f7d66
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