]> www.infradead.org Git - users/jedix/linux-maple.git/commit
_RESEND_PATCH_v2_04_19_wifi_rt2x00_Remove_redundant_hrtimer_init_
authorNam Cao <namcao@linutronix.de>
Thu, 31 Oct 2024 15:14:18 +0000 (16:14 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 7 Nov 2024 01:47:05 +0000 (02:47 +0100)
commit48baf9fa4884e5ccf6ef8fa7099693696ebc6975
tree33c034ae00fd76ce69d5478ad5735c6d28c10429
parentf6e12766c52dc8e7032fe51d4ef33320b475775e
_RESEND_PATCH_v2_04_19_wifi_rt2x00_Remove_redundant_hrtimer_init_

rt2x00usb_probe() executes a hrtimer_init() for txstatus_timer. Afterwards,
rt2x00lib_probe_dev() is called which also initializes this txstatus_timer
with the same settings.

Remove the redundant hrtimer_init() call in rt2x00usb_probe().

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/all/66116057f788e18a6603d50a554417eee459e02c.1730386209.git.namcao@linutronix.de
drivers/net/wireless/ralink/rt2x00/rt2x00usb.c