From: blogic Date: Fri, 7 Nov 2014 10:51:00 +0000 (+0000) Subject: ralink: mt7628 does not actually need this fix for the ethernet driver X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=e282ae615432f2d69bd509aef7aa3f951142e111;p=openwrt.git ralink: mt7628 does not actually need this fix for the ethernet driver Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43206 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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; }