]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: comedi: ni_at_a2150: checkpatch.pl cleanup (break not useful)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 17:43:26 +0000 (10:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:34:22 +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/ni_at_a2150.c

index 5bd19494dbf653353cc242fae2d8d02ccd73c070..a862dc33444b70992e51cd9b8009329e27326412 100644 (file)
@@ -681,7 +681,6 @@ static int a2150_set_chanlist(struct comedi_device *dev,
                break;
        default:
                return -1;
-               break;
        }
 
        return 0;