net/macsonic: Drop redundant MACH_IS_MAC test
authorFinn Thain <fthain@telegraphics.com.au>
Sat, 24 Feb 2018 23:27:25 +0000 (18:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 19:40:02 +0000 (14:40 -0500)
commit3d16bada58b2bdd15a840be09c04f49b40641838
tree696daed1d96a20f0c41b7f571d21a8f415ae5a34
parent0d12c6870dc4dc9067cb103c20cdb35c89f841e3
net/macsonic: Drop redundant MACH_IS_MAC test

The MACH_IS_MAC test is redundant here because the platform device
won't get registered unless MACH_IS_MAC.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/natsemi/macsonic.c