[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20201019194503.14426-1-trix@redhat.com>
Date: Mon, 19 Oct 2020 12:45:03 -0700
From: trix@...hat.com
To: arnd@...db.de, gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, Tom Rix <trix@...hat.com>
Subject: [PATCH] char: mwave: remove unneeded break
From: Tom Rix <trix@...hat.com>
A break is not needed if it is preceded by a return
Signed-off-by: Tom Rix <trix@...hat.com>
---
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
Powered by blists - more mailing lists