]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: dgap: fix error path
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 16 Jul 2015 12:58:17 +0000 (18:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 17:19:55 +0000 (10:19 -0700)
commitac4e504a597903f65e6b365eee3e2675a7d8fe4e
tree1d7f852ae7eba66dd875b0aa191f5582e3c601fa
parent7d708e52c2295d4d74c58881668a05ff7af8dc16
staging: dgap: fix error path

The code in dgap_stop() is almost a duplicate of the code that will be
executed on pci_unregister_driver(). So the error code was stopping and
unregistering everything twice.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c