r8152: remove rtl_phy_reset function
authorhayeswang <hayeswang@realtek.com>
Thu, 7 Jul 2016 07:09:18 +0000 (15:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 21:48:05 +0000 (17:48 -0400)
commitb1648066b41f01057e2b802f71410bddae8dce45
tree700c0c27929220393dca804ac8a93310173a3e7c
parentfb577316b7600adda2aa479cc1d52eb3f95073d5
r8152: remove rtl_phy_reset function

In rtl_hw_phy_work_func_t(), the flag of PHY_RESET is set in
rtl_ops.hw_phy_cfg() and cleared in rtl8152_set_speed(). Therefore,
the rtl_phy_reset() is never run and is unnecessary.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c