Fix the checkpatch.pl warnings:
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>
break;
default:
return -EINVAL;
- break;
}
return insn->n;
}
default:
comedi_error(dev, "driver bug?");
return -1;
- break;
}
return 1;
spin_unlock_irqrestore(&dev->spinlock, flags);
comedi_error(dev, "error setting dac pacer source");
return -1;
- break;
}
spin_unlock_irqrestore(&dev->spinlock, flags);