ftgmac100: Remove redundant judgement
authortangbin <tangbin@cmss.chinamobile.com>
Wed, 11 Mar 2020 02:05:37 +0000 (10:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Mar 2020 20:38:19 +0000 (13:38 -0700)
commit86eeb97de71018695e9dc9e1f96df7b33cb0e7d6
tree96968452094a612dca4417c35f37255e960d9703
parent96ee187badb743a848d42cac8178e16c47bd230a
ftgmac100: Remove redundant judgement

In this function, ftgmac100_probe() can be triggered only
if the platform_device and platform_driver matches, so the
judgement at the beginning is redundant.

Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c