OSDN Git Service

Staging: comedi: adv_pci1724: Remove redundant return statements
authorAbhishek Sharma <asharm14@visteon.com>
Mon, 1 Jun 2015 06:06:53 +0000 (06:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:21:37 +0000 (13:21 -0700)
commite1f9ae3bcaf270fb306702e4182d9beccf7fb001
treee4d8ff0faec1b5171eeef278b62625f41c88272d
parent51bb618bff1e77c891f68405c3f8f3a492fecc17
Staging: comedi: adv_pci1724: Remove redundant return statements

Replace unnecessary conditional checks for variable 'ret' and replace
by single return statement.

Signed-off-by: Abhishek Sharma <asharm14@visteon.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adv_pci1724.c