summaryrefslogtreecommitdiff
path: root/net/ethtool/mse.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethtool/mse.c')
-rw-r--r--net/ethtool/mse.c3
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;