ramips: remove further mt7621 code from local ethernet driver
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 21 Aug 2020 14:18:23 +0000 (16:18 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 26 Aug 2020 21:58:01 +0000 (23:58 +0200)
commitadf830a3a5cc8dc1813457922452413894a5f948
treeace714aa2ba0fe89a5c8f62624557ca322f0ba8f
parentc1aa2d4411659d336d05a1886223d53d6bb2c330
ramips: remove further mt7621 code from local ethernet driver

While commit 734a8c46e703 focussed on removing stuff directly
selected by the NET_RALINK_* symbols, this patch removes additional
unused mt7621-specific code from the ethernet driver.

As with the previous patch, the main reason is to reduce the amount
of code we have to maintain and care about.

Note that this patch still keeps a few lines with
IS_ENABLED(CONFIG_SOC_MT7621) in mtk_eth_soc.h/.c, as this file is
still selected for the mt7621 subtarget.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.h
target/linux/ramips/files/drivers/net/ethernet/ralink/mt7530.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mt7530.h
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.h
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_mt7620.c