diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 16:32:12 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2020-10-28 14:32:06 +0300 |
commit | 619821936203f0577aa88cf30d31b0202650a745 (patch) | |
tree | f6fd87566a451766b77fa05db25d027764325d75 /drivers/platform/x86/acer-wmi.c | |
parent | dac76c17d255076214fb205f192d4328ed012891 (diff) | |
download | linux-619821936203f0577aa88cf30d31b0202650a745.tar.xz |
platform/x86: 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/20201019133212.12671-1-trix@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/acer-wmi.c')
-rw-r--r-- | drivers/platform/x86/acer-wmi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 49f4b73be513..1c2084c74a57 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -792,7 +792,6 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap) switch (quirks->brightness) { default: return ec_write(0x83, value); - break; } default: return AE_ERROR; |