pcmcia: tcic: remove unneeded "&" in call to setup_timer()
authorlizhe <sensor1010@163.com>
Wed, 21 Dec 2022 06:37:49 +0000 (22:37 -0800)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sun, 3 Sep 2023 08:45:53 +0000 (10:45 +0200)
The second parameter is the entry address of the function, and
therefore does not require an "&".

Signed-off-by: lizhe <sensor1010@163.com>
[linux@dominikbrodowski.net: update commit message]
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/tcic.c

index 1a0e3f0..5ef8886 100644 (file)
@@ -435,7 +435,7 @@ static int __init init_tcic(void)
     }
     
     /* Set up polling */
-    timer_setup(&poll_timer, &tcic_timer, 0);
+    timer_setup(&poll_timer, tcic_timer, 0);
 
     /* Build interrupt mask */
     printk(KERN_CONT ", %d sockets\n", sockets);