kernel: psb6970: drop unused variable in psb6970_config_init
[openwrt/openwrt.git] / target / linux / generic / files / drivers / net / phy / psb6970.c
index fb6ed0e2041b80c7bae11aaecfb4df9ef58f80ce..af64704b16429e974dee6cb7fe2aa5f0097d783b 100644 (file)
@@ -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;