]> git.baikalelectronics.ru Git - kernel.git/commit
mdio: remove an unneed condition
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jan 2016 09:35:34 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jan 2016 16:51:57 +0000 (11:51 -0500)
commit61a253c1a20d6fe6f503eb002de575ca004c846f
treec21d835651b415ebbf88bc338a8e431c09d6550c
parentcc0b05a588ce1e484f3248117e769a0b79dc20ff
mdio: remove an unneed condition

It used to be that mdio->irq was a pointer but after 200b167d3fff
('mdio: Move allocation of interrupts into core') it's an array inside
the mdio struct so it can never be NULL.

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>
drivers/of/of_mdio.c