Commit 5d869070 authored by Marek Behún's avatar Marek Behún Committed by David S. Miller

net: phy: marvell: don't use empty switch default case

This causes error reported by kernel test robot.
Signed-off-by: default avatarMarek Behún <kabel@kernel.org>
Fixes: 41d26bf4 ("net: phy: marvell: refactor HWMON OOP style")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68f5c12a
...@@ -2499,8 +2499,6 @@ static int marvell_hwmon_write(struct device *dev, enum hwmon_sensor_types type, ...@@ -2499,8 +2499,6 @@ static int marvell_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
if (ops->set_temp_critical) if (ops->set_temp_critical)
err = ops->set_temp_critical(phydev, temp); err = ops->set_temp_critical(phydev, temp);
break; break;
default:
fallthrough;
} }
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment