From: H Hartley Sweeten Date: Wed, 16 Jul 2014 17:43:27 +0000 (-0700) Subject: staging: comedi: s526: checkpatch.pl cleanup (break not useful) X-Git-Tag: firefly_0821_release~176^2~3491^2~648 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ee99bcc75d3bfe260338de6cf632853bc7c1b936;p=firefly-linux-kernel-4.4.55.git staging: comedi: s526: 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/s526.c b/drivers/staging/comedi/drivers/s526.c index 85d2b7a3c125..208567d2cb21 100644 --- a/drivers/staging/comedi/drivers/s526.c +++ b/drivers/staging/comedi/drivers/s526.c @@ -345,7 +345,6 @@ static int s526_gpct_insn_config(struct comedi_device *dev, default: return -EINVAL; - break; } return insn->n;