diff options
author | 2017-10-16 17:29:22 -0700 | |
---|---|---|
committer | 2017-10-18 12:39:55 +0100 | |
commit | d26c089e78298843b8c5202ffb43146d17c15bde (patch) | |
tree | 3f57dcc2197c103fa39365a38b299621367b0f4d /virt | |
parent | net/core: Collapse redundant sk_timer callback data assignments (diff) | |
download | linux-dev-d26c089e78298843b8c5202ffb43146d17c15bde.tar.xz linux-dev-d26c089e78298843b8c5202ffb43146d17c15bde.zip |
hdlc: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly. This adds a pointer back to the
net_device, and drops needless open-coded resetting of the .function and
.data fields.
Cc: David S. Miller <davem@davemloft.net>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions