aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/files/drivers/net/phy/psb6970.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/psb6970.c b/target/linux/generic/files/drivers/net/phy/psb6970.c
index fb6ed0e204..af64704b16 100644
--- a/target/linux/generic/files/drivers/net/phy/psb6970.c
+++ b/target/linux/generic/files/drivers/net/phy/psb6970.c
@@ -307,7 +307,6 @@ static const struct switch_dev_ops psb6970_ops = {
static int psb6970_config_init(struct phy_device *pdev)
{
struct psb6970_priv *priv;
- struct net_device *dev = pdev->attached_dev;
struct switch_dev *swdev;
int ret;