Tag: 5327ef9c95b09f536e886c61d1d768b3236748d5

net: tulip: Use setup_timer()

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Convert a call to init_timer and accompanying intializations of the timer’s data and function fields to a call to setup_timer. The Coccinelle semantic patch that fixes this problem is as follows: // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(&t,f,d); -t.data = d; -t.function = f; // Signed-off-by: Amitoj Kaur Chawla Signed-off-by: …

Continue reading