summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-19 12:45:03 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-09 16:05:09 +0100
commitb61fe3b5963db935dad5bae8f9ced3bed695bb62 (patch)
tree3a57060582bbd074c9651de3dd99be56f7688ac6 /drivers/char
parent061e5379f327c77647b6a16beaf898b1ee71d731 (diff)
char: mwave: remove unneeded break
A break is not needed if it is preceded by a return Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20201019194503.14426-1-trix@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/mwave/mwavedd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/mwave/mwavedd.c b/drivers/char/mwave/mwavedd.c
index e43c876a9223..11272d605ecd 100644
--- a/drivers/char/mwave/mwavedd.c
+++ b/drivers/char/mwave/mwavedd.c
@@ -403,7 +403,6 @@ static long mwave_ioctl(struct file *file, unsigned int iocmd,
default:
return -ENOTTY;
- break;
} /* switch */
PRINTK_2(TRACE_MWAVE, "mwavedd::mwave_ioctl, exit retval %x\n", retval);