From 1c404be2b3a6d90141b20d7433e65bc2a5fc4b3e Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Wed, 16 Jul 2014 10:43:26 -0700 Subject: [PATCH] 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 --- drivers/staging/comedi/drivers/ni_at_a2150.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.5