aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-07 10:51:00 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-07 10:51:00 +0000
commitc59e6ee48d6dfc2468f75f1b953b6c0d138626a8 (patch)
tree64a72d18dd4c0d311ce27fb5121856e340f9f051 /target
parent1ee8ef9901932bdbaf7bcf5550c27e1eb749dc3f (diff)
downloadupstream-c59e6ee48d6dfc2468f75f1b953b6c0d138626a8.tar.gz
upstream-c59e6ee48d6dfc2468f75f1b953b6c0d138626a8.tar.bz2
upstream-c59e6ee48d6dfc2468f75f1b953b6c0d138626a8.zip
ralink: mt7628 does not actually need this fix for the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43206 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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;
}