From: Tom Rix Date: Mon, 19 Oct 2020 19:48:05 +0000 (-0700) Subject: char: ipmi: remove unneeded break X-Git-Tag: microblaze-v5.12~103^2~3 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=0df7b988d9df24d1ea120fde69b3e9cbd2555597;p=linux-2.6-microblaze.git char: ipmi: remove unneeded break A break is not needed if it is preceded by a return Signed-off-by: Tom Rix Message-Id: <20201019194805.14996-1-trix@redhat.com> Signed-off-by: Corey Minyard --- diff --git a/drivers/char/ipmi/ipmi_devintf.c b/drivers/char/ipmi/ipmi_devintf.c index f7b1c004a12b..3dd1d5abb298 100644 --- a/drivers/char/ipmi/ipmi_devintf.c +++ b/drivers/char/ipmi/ipmi_devintf.c @@ -490,7 +490,6 @@ static long ipmi_ioctl(struct file *file, } return ipmi_set_my_address(priv->user, val.channel, val.value); - break; } case IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD: