[PATCH] char: mwave: remove unneeded break
From: trix
Date: Mon Oct 19 2020 - 15:45:42 EST
From: Tom Rix <trix@xxxxxxxxxx>
A break is not needed if it is preceded by a return
Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
---
drivers/char/mwave/mwavedd.c | 1 -
1 file changed, 1 deletion(-)
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);
--
2.18.1