net: sun4i-emac: remove erroneous assignment
commit10e179e364beafc23d837e81cf98d99720f42551
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2013 11:36:50 +0000 (3 11:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2013 00:34:00 +0000 (4 17:34 -0700)
tree8d29dafa066d128b5c0e9244747e9ab3f02cd4d9
parentc08355fb61fb064d141b8bd156145d326f33022f
net: sun4i-emac: remove erroneous assignment

The newly added sun4i-emac driver causes a build error when
CONFIG_NET_POLL_CONTROLLER is set, because it attempts to
assign a pointer to netdev->poll_controller, which has
been replaced with ops->ndo_poll_controller in 2.6.31!

The correct assignment is present as well, so we just need
to remove the wrong one.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Maxime Ripard <maxime.ripard@anandra.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/allwinner/sun4i-emac.c