aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/synopsys/dwc_eth_qos.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-01-12 12:36:21 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-12 11:51:58 -0500
commit47b356e499f26d330ab6ae4019e8c05f994be62d (patch)
treedb0bc7ccc0f45f2f790e641eaa2a77ae4e9163e2 /drivers/net/ethernet/synopsys/dwc_eth_qos.c
parentmdio: remove an unneed condition (diff)
downloadlinux-dev-47b356e499f26d330ab6ae4019e8c05f994be62d.tar.xz
linux-dev-47b356e499f26d330ab6ae4019e8c05f994be62d.zip
phy: remove an unneeded condition
It used to be that bus->irq was a pointer but after e7f4dc3536a4 ('mdio: Move allocation of interrupts into core') it's an array inside the mdio struct, so it can never be NULL. Let's remove the check. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions