From: John Crispin 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://git.lede-project.org./?a=commitdiff_plain;h=9007e2244f8f6b6b29fcec5a589ae752e32e6f97;p=openwrt%2Fstaging%2Fyousong.git ralink: mt7628 does not actually need this fix for the ethernet driver Signed-off-by: John Crispin SVN-Revision: 43206 --- 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; }