summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-19 22:48:05 +0300
committerCorey Minyard <cminyard@mvista.com>2020-10-28 00:08:22 +0300
commit0df7b988d9df24d1ea120fde69b3e9cbd2555597 (patch)
tree7da639ea76d7dcf982013383ba66f6e7d0a94fb2 /drivers/char
parent9ff9b0d392ea08090cd1780fb196f36dbb586529 (diff)
downloadlinux-0df7b988d9df24d1ea120fde69b3e9cbd2555597.tar.xz
char: ipmi: remove unneeded break
A break is not needed if it is preceded by a return Signed-off-by: Tom Rix <trix@redhat.com> Message-Id: <20201019194805.14996-1-trix@redhat.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ipmi/ipmi_devintf.c1
1 files changed, 0 insertions, 1 deletions
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: