# Re: \[PATCH\] mac80211: Use setup\_timer instead of init\_timer

- From: Johannes Berg \<hidden\>
- Date: 2017-03-16 09:54:32 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/03/11047631
- Thread: https://ratatoskr.run/linux-wireless/2017/03/11047631/t.md

```text
On Thu, 2017-03-09 at 10:34 +0100, ondrej.lysonek-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org wrote:
> From: Ondřej Lysoněk <redacted>
> 
> Use setup_timer() and setup_deferrable_timer() to set the data and
> function timer fields. It makes the code cleaner and will allow for
> easier change of the timer struct internals.
> 
Applied, thanks.

johannes
```
