]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
macmace, macsonic: cleanup
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 13 Sep 2011 07:30:25 +0000 (07:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2011 19:31:35 +0000 (15:31 -0400)
commitce43aa6c142d69820a267431ea342d1bd9f6d3ce
tree65f1f4b3d0e4acc55f282e11eebb3e14fd959fbf
parent0c070900f64ef37daf198eea5ef778eb8dba5020
macmace, macsonic: cleanup

We check ether_type before registering the platform device in
arch/m68k/mac/config.c. Doing the same test again in the driver is
redundant so remove it.

Multiple probes should not happen since the conversion to platform devices,
so lose that test too.

Then macmace.c need not include macintosh.h, so remove that and irq.h and
include linux/interrupt.h explicitly.

Tested on PowerBook 520, Quadra 660av, LC 630.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apple/macmace.c
drivers/net/ethernet/natsemi/macsonic.c