staging: dgap: remove duplicate code
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 16 Jul 2015 12:58:20 +0000 (18:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 17:19:55 +0000 (10:19 -0700)
commitb8d1f261fe7e4967593a5637d62991b6197a03f8
tree76dded46020fbe6eb696e02b46aeaa4712529b5b
parent174b83c0eb577d7db8f1867f1d76dc14f0b8eb40
staging: dgap: remove duplicate code

Remove the duplicate code of dgap_remove_one() and dgap_stop().

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