diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2015-08-19 11:46:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-20 14:36:25 -0700 |
commit | 4d14a63400dd3e353acb6547831fe465f85864b1 (patch) | |
tree | 771aef9a691368b5f88671302f609a550d73e29e /net/ipv4/fib_semantics.c | |
parent | 2f710a3a8089c12dfe3c0cf04bb0a3dee3dea019 (diff) |
smsc911x: Remove dev==NULL check.
The dev==NULL check in smsc911x_probe_config is useless
and isn't providing any additional protection. If a fwnode
doesn't exist then an appropriate error should be returned
by device_get_phy_mode() covering the original case
of a missing of/fwnode.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions