From: H Hartley Sweeten Date: Wed, 16 Jul 2014 18:02:00 +0000 (-0700) Subject: staging: comedi: comedi_test: checkpatch.pl cleanup (break is not useful) X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f06d145f8b7bf234d9b6f6e619929c2ff3f267ae;p=linux-beck.git staging: comedi: comedi_test: checkpatch.pl cleanup (break is 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/comedi_test.c b/drivers/staging/comedi/drivers/comedi_test.c index 67a09aa6b721..1e2fb91b78fe 100644 --- a/drivers/staging/comedi/drivers/comedi_test.c +++ b/drivers/staging/comedi/drivers/comedi_test.c @@ -146,10 +146,8 @@ static unsigned short fake_waveform(struct comedi_device *dev, switch (channel) { case SAWTOOTH_CHAN: return fake_sawtooth(dev, range, current_time); - break; case SQUARE_CHAN: return fake_squarewave(dev, range, current_time); - break; default: break; }