From eb8051d73ccd0c3b3dfbd03ca764e6b1c7fb9a6b Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Wed, 16 Jul 2014 10:43:30 -0700 Subject: [PATCH] staging: comedi: ni_660x: checkpatch.pl cleanup (break not useful) Fix the checkpatch.pl warnings: 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 --- 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 27d435f2565b..d09b8667cd42 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; -- 2.39.5