staging: comedi: Fix return flow
authorCristina Moraru <cristina.moraru09@gmail.com>
Tue, 20 Oct 2015 10:16:33 +0000 (13:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:16:20 +0000 (19:16 -0700)
commit9aed06693df75c0e81ae2a25c3ed51dbb4d4ac61
tree7b1f25e4c965ac909a302d5a1ca4c9512ab975f2
parent64289a650656d7307832376fdfaf1e7131236a4b
staging: comedi: Fix return flow

Simplify function return flow. Issue found
with coccinelle.

Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/daqboard2000.c