mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cd9da6178a
commit
f06d145f8b
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue