diff options
Diffstat (limited to 'net/ethtool')
| -rw-r--r-- | net/ethtool/mse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ethtool/mse.c b/net/ethtool/mse.c index 4de15aad543b..8cb3fc5e7be4 100644 --- a/net/ethtool/mse.c +++ b/net/ethtool/mse.c @@ -64,8 +64,7 @@ static int mse_get_channels(struct phy_device *phydev, if (!data->capability.supported_caps) return 0; - data->snapshots = kzalloc_objs(*data->snapshots, PHY_MSE_CHANNEL_COUNT, - GFP_KERNEL); + data->snapshots = kzalloc_objs(*data->snapshots, PHY_MSE_CHANNEL_COUNT); if (!data->snapshots) return -ENOMEM; |
