]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: unregister netdev when create debugfs fails
authorDavid Kershner <david.kershner@unisys.com>
Fri, 4 Sep 2015 16:01:29 +0000 (12:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 16:43:40 +0000 (09:43 -0700)
commit8260792ac4d399d0244ea34b8d41eee0c9b3c991
tree769e7d7983c10d110392d38d2c26f13c85953617
parent067586524dabf6b4a883ad891f9fee4bc8a7f8a4
staging: unisys: unregister netdev when create debugfs fails

Noticed we were not unregistering the netdevice if we failed to
create the debugfs entries. This patch fixes that problem.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c