]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: use already declared variables
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 20 Jun 2016 17:14:00 +0000 (13:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 07:58:28 +0000 (03:58 -0400)
commit896c928d35b4ea21737b4cd47961b1d8864792a1
tree7d82892ec3a18e0ecd3e7bac55b8ab2b70e88acb
parentd59b4cad4b139b782c5a996c53ac4de9fcd14c39
net: dsa: mv88e6xxx: use already declared variables

In the MDIO probing function, dev is already assigned to &mdiodev->dev
and np is already assigned to mdiodev->dev.of_node, so use them.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c