Skip to content

Commit

Permalink
net: phy: marvell: don't use empty switch default case
Browse files Browse the repository at this point in the history
This causes error reported by kernel test robot.

Signed-off-by: Marek Behún <kabel@kernel.org>
Fixes: 41d26bf ("net: phy: marvell: refactor HWMON OOP style")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
elkablo authored and davem330 committed Apr 21, 2021
1 parent 68f5c12 commit 5d86907
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/phy/marvell.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5d86907

Please sign in to comment.