• K
    hdlc: Convert timers to use timer_setup() · d26c089e
    Kees Cook 提交于
    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: NKees Cook <keescook@chromium.org>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    d26c089e
hdlc_fr.c 29.4 KB