staging: dgap: remove unnecessary function
authorDaeseok Youn <daeseok.youn@gmail.com>
Wed, 5 Nov 2014 08:58:11 +0000 (17:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Nov 2014 22:49:14 +0000 (14:49 -0800)
commitdeaa2c2021c2c00401933f84023bfc4c0a60e281
tree249f2649155f1df64940339378cc8d4c006a55fc
parent8514408b9b2e95711ccac08eaed02ba3ce310c03
staging: dgap: remove unnecessary function

The dgap_init_global() initialize the dgap_board
that is a global variable as static and dgap_poll_timer.
But init_timer() is called twice in dgap_start() and dgap_board
doesn't need to be initialized to NULL.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c
This page took 0.026848 seconds and 5 git commands to generate.