Re: [PATCH] Staging: rtl8192e: Timer setup using macro rather assignment

From: Julia Lawall
Date: Mon May 18 2015 - 13:49:38 EST


> void _setup_timer(struct timer_list *ptimer, void *fun, unsigned long data)
> {
> - ptimer->function = fun;
> - ptimer->data = data;
> init_timer(ptimer);
> + setup_timer(ptimer, fun, data);
> }

setup_timer also subsumes init_timer. Check the definition. Probably you
can delete this function completely.

julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/