ACPI: sbshc: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 17 May 2021 23:23:12 +0000 (18:23 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 May 2021 17:04:54 +0000 (19:04 +0200)
commit45b10e3e0170b925251464f238420c2b9ea9d998
treed49ca458324e3f045efa507fe650288a47995352
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc
ACPI: sbshc: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a
fallthrough warning by simply dropping the empty default case at
the bottom.

This contributes to the ongoing efforts to globally enable
-Wimplicit-fallthrough for Clang.

Link: https://github.com/KSPP/linux/issues/115
Suggested-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/lkml/CAJZ5v0hLYWKX__oZdcCY0D20pNqpw8SkiTPOCNOtpqe--QLp4Q@mail.gmail.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sbshc.c