OSDN Git Service

net: atm/mpc: Stop using open-coded timer .data field
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 08:46:45 +0000 (01:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 04:07:37 +0000 (13:07 +0900)
commit5c658e19a7b53b6d712c3fb08bb88649d362db9f
tree25640c8681633ef8101fc7d031dc17be9a790428
parent17bfd8c89fb62219fa27a10b9475daea74d20a15
net: atm/mpc: Stop using open-coded timer .data field

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using an explicit static variable to hold
additional expiration details.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Bhumika Goyal <bhumirks@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Reshetova, Elena" <elena.reshetova@intel.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/mpc.c