From: H Hartley Sweeten Date: Wed, 16 Jul 2014 17:43:26 +0000 (-0700) Subject: staging: comedi: ni_at_a2150: checkpatch.pl cleanup (break not useful) X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1c404be2b3a6d90141b20d7433e65bc2a5fc4b3e;p=linux-beck.git staging: comedi: ni_at_a2150: checkpatch.pl cleanup (break not useful) Fix the checkpatch.pl warning: WARNING: break is not useful after a goto or return Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c b/drivers/staging/comedi/drivers/ni_at_a2150.c index 5bd19494dbf6..a862dc33444b 100644 --- a/drivers/staging/comedi/drivers/ni_at_a2150.c +++ b/drivers/staging/comedi/drivers/ni_at_a2150.c @@ -681,7 +681,6 @@ static int a2150_set_chanlist(struct comedi_device *dev, break; default: return -1; - break; } return 0;