]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: hsr: convert to use new timer APIs
authorYu Liao <liaoyu15@huawei.com>
Thu, 10 Oct 2024 09:27:44 +0000 (17:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Oct 2024 12:17:04 +0000 (13:17 +0100)
commite4c416533f0633c96eba849832a9212ace3c3ec4
tree24009c295989c5f405fb809fc5743ed3edb1f823
parent6aac56631831e1386b6edd3c583c8afb2abfd267
net: hsr: convert to use new timer APIs

del_timer() and del_timer_sync() have been renamed to timer_delete()
and timer_delete_sync().

Inconsistent API usage makes the code a bit confusing, so replace with
the new APIs.

No functional changes intended.

Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_netlink.c