]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: sunhme: Remove residual polling code
authorSean Anderson <seanga2@gmail.com>
Fri, 24 Mar 2023 17:51:29 +0000 (13:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Mar 2023 07:41:56 +0000 (08:41 +0100)
commit3427372d0bd8c75036768d017074c29c99ce6342
treeb1ad6565e6ed64d1a180c08b44053665926f74de
parent70b1b4b86227c024c29ad54278fa5b80ec535ca9
net: sunhme: Remove residual polling code

The sunhme driver never used the hardware MII polling feature. Even the
if-def'd out happy_meal_poll_start was removed by 2002 [1]. Remove the
various places in the driver which needlessly guard against MII interrupts
which will never be enabled.

[1] https://lwn.net/2002/0411/a/2.5.8-pre3.php3

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c
drivers/net/ethernet/sun/sunhme.h