diff options
| author | Kees Cook <keescook@chromium.org> | 2017-10-17 03:29:22 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-18 14:39:55 +0300 |
| commit | d26c089e78298843b8c5202ffb43146d17c15bde (patch) | |
| tree | 3f57dcc2197c103fa39365a38b299621367b0f4d /include/linux | |
| parent | 9f12a77e467b8ec0296cf1c3481447e1b1811f59 (diff) | |
| download | linux-d26c089e78298843b8c5202ffb43146d17c15bde.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
