]> Git Repo - linux.git/commitdiff
pcmcia: tcic: remove unneeded "&" in call to setup_timer()
authorlizhe <[email protected]>
Wed, 21 Dec 2022 06:37:49 +0000 (22:37 -0800)
committerDominik Brodowski <[email protected]>
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 <[email protected]>
[[email protected]: update commit message]
Signed-off-by: Dominik Brodowski <[email protected]>
drivers/pcmcia/tcic.c

index 1a0e3f0987599d8a8b6415ac31dac40bc4bab8a1..5ef888688e231c87bb112e4041580a7a0c7bba1b 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);
This page took 0.056423 seconds and 4 git commands to generate.