Skip to content

Commit 5d86907

Browse files
elkablodavem330
authored andcommitted
net: phy: marvell: don't use empty switch default case
This causes error reported by kernel test robot. Signed-off-by: Marek Behún <[email protected]> Fixes: 41d26bf ("net: phy: marvell: refactor HWMON OOP style") Reported-by: kernel test robot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 68f5c12 commit 5d86907

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/phy/marvell.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2499,8 +2499,6 @@ static int marvell_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
24992499
if (ops->set_temp_critical)
25002500
err = ops->set_temp_critical(phydev, temp);
25012501
break;
2502-
default:
2503-
fallthrough;
25042502
}
25052503

25062504
return err;

0 commit comments

Comments
 (0)