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: 41d26bf4ab ("net: phy: marvell: refactor HWMON OOP style")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Marek Behún 2021-04-21 16:08:03 +02:00 committed by David S. Miller
parent 68f5c12abb
commit 5d86907056
1 changed files with 0 additions and 2 deletions

View File

@ -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;