Fix the checkpatch.pl warnings: WARNING: break is not useful after a goto or return
Signed-off-by: H Hartley Sweeten <[email protected]> Cc: Ian Abbott <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> --- drivers/staging/comedi/drivers/ni_660x.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_660x.c b/drivers/staging/comedi/drivers/ni_660x.c index 27d435f..d09b866 100644 --- a/drivers/staging/comedi/drivers/ni_660x.c +++ b/drivers/staging/comedi/drivers/ni_660x.c @@ -619,10 +619,8 @@ static inline unsigned ni_660x_read_register(struct comedi_device *dev, switch (registerData[reg].size) { case DATA_2B: return readw(read_address); - break; case DATA_4B: return readl(read_address); - break; default: BUG(); break; -- 1.9.3 _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
