OSDN Git Service

r8152: remove cancel_delayed_work_sync in rtl8152_set_speed
authorhayeswang <hayeswang@realtek.com>
Thu, 7 Jul 2016 07:09:20 +0000 (15:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 21:48:06 +0000 (17:48 -0400)
commitc23d86ae94b5eda449e71560e9028907abc91764
treeee16d9340d43ba702b3ba7e32836aea7a3461495
parentc79262f3f8e06e75e960ff45b48b3c12b2d6b709
r8152: remove cancel_delayed_work_sync in rtl8152_set_speed

There is no conflict between the work_queue function and
rtl8152_set_speed(), so we don't have to cancel the delayed work in
rtl8152_set_speed().

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