aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-07 10:51:00 +0000
committerJohn Crispin <john@openwrt.org>2014-11-07 10:51:00 +0000
commit9007e2244f8f6b6b29fcec5a589ae752e32e6f97 (patch)
tree6f9fd202be100eb8fc9dcdff3fbda5279d1dddfc /target/linux/ramips/files
parentf4417f7ad8f2da7d99c48eead14b0a2e8ad0f387 (diff)
downloadupstream-9007e2244f8f6b6b29fcec5a589ae752e32e6f97.tar.gz
upstream-9007e2244f8f6b6b29fcec5a589ae752e32e6f97.tar.bz2
upstream-9007e2244f8f6b6b29fcec5a589ae752e32e6f97.zip
ralink: mt7628 does not actually need this fix for the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43206
Diffstat (limited to 'target/linux/ramips/files')
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c3
1 files changed, 0 insertions, 3 deletions
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;
}