staging/comedi/das16: Make timer initialization unconditional
authorKees Cook <keescook@chromium.org>
Wed, 20 Sep 2017 23:27:50 +0000 (16:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Sep 2017 08:57:22 +0000 (10:57 +0200)
commit1c937c1390cc1ca95032e56b4ec8c4e32e54debe
tree6bc304a5722f5c9a42b9101f90bade500503986a
parent4b26706c77ada60d92ca1846a7956298edcc78ea
staging/comedi/das16: Make timer initialization unconditional

With timer initialization made unconditional, there is no reason to
make del_timer_sync() calls conditionally, there by removing the test
of the .data field.

Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: devel@driverdev.osuosl.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das16.c