summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@kernel.org>2021-04-21 16:08:03 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-21 14:45:49 -0700
commit5d869070569a23aa909c6e7e9d010fc438a492ef (patch)
tree7a473b5ccf276a87db0e6d808f2aeb29ec4385d6 /drivers/net/phy
parent68f5c12abbc9b6f8c5eea16c62f8b7be70793163 (diff)
downloadlinux-5d869070569a23aa909c6e7e9d010fc438a492ef.tar.bz2
net: phy: marvell: don't use empty switch default case
This causes error reported by kernel test robot. Signed-off-by: Marek BehĂșn <kabel@kernel.org> Fixes: 41d26bf4aba0 ("net: phy: marvell: refactor HWMON OOP style") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/marvell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 1cce86b280af..e2b2b20c0dc5 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -2499,8 +2499,6 @@ static int marvell_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
if (ops->set_temp_critical)
err = ops->set_temp_critical(phydev, temp);
break;
- default:
- fallthrough;
}
return err;