diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c index 746b118e1e..aff6253432 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c @@ -91,9 +91,6 @@ static void rt305x_fe_reset(void) static void rt5350_init_data(struct fe_soc_data *data, struct net_device *netdev) { - struct fe_priv *priv = netdev_priv(netdev); - - priv->flags = FE_FLAG_PADDING_64B | FE_FLAG_PADDING_BUG; netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM; }