OSDN Git Service

appletalk: Remove unneeded synchronization
authorKees Cook <keescook@chromium.org>
Tue, 17 Oct 2017 00:29:23 +0000 (17:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 11:39:55 +0000 (12:39 +0100)
commit9ba650a4ebdde5f5f59a62ed51563d7c4586e492
treea0c35347493c87125b8c27942b01f8fb5f6cd64b
parentd26c089e78298843b8c5202ffb43146d17c15bde
appletalk: Remove unneeded synchronization

The use of del_timer_sync() will make sure a timer is not rescheduled.
As such, there is no need to add external signals to kill timers. In
preparation for switching the timer callback argument to the timer
pointer, this drops the .data argument since it doesn't serve a meaningful
purpose here.

Cc: David Howells <dhowells@redhat.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/appletalk/ltpc.c