staging: comedi: das08: checkpatch.pl cleanup (break is not useful)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 17:43:41 +0000 (10:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:34:24 +0000 (13:34 -0700)
Fix the checkpatch.pl warning:

WARNING: break is not useful after a goto or return

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c

index c5e352fb55557aad9a26d9ee2f39ecadc373c8f5..6e55ba5787b7ccf6bdccf3ffbb3a64013cc54fc5 100644 (file)
@@ -452,7 +452,6 @@ static int das08_counter_config(struct comedi_device *dev,
                break;
        default:
                return -EINVAL;
-               break;
        }
        return 2;
 }
This page took 0.025285 seconds and 5 git commands to generate.