]> git.baikalelectronics.ru Git - kernel.git/commit
net: cdc_ncm: use tasklet_init() for tasklet_struct init
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 11 Oct 2018 13:03:32 +0000 (14:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 19:06:06 +0000 (12:06 -0700)
commitd156bceb4c071f6c92243744339d4823878682ca
tree94d40876671a450d84edc8e8e977c56ee0bfcada
parent41382b35c47be426ed05ba3744ca543a9f32f290
net: cdc_ncm: use tasklet_init() for tasklet_struct init

The tasklet initialisation would be better done by tasklet_init()
instead of assuming all the fields are in an ok state by default.

This does not fix any actual know bug.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c