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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ee99bcc75d3bfe260338de6cf632853bc7c1b936;p=linux-beck.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;