diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-10-03 20:52:48 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 09:30:14 +0100 |
commit | 482e191d61a85c87e033a650e755d3a4361a6158 (patch) | |
tree | c369bdabe317c0d6b7b9380e998c7c0201ba235e /drivers/staging/dgnc | |
parent | e24bb0ed81795731c8cca4d3ecbac04862fbf128 (diff) |
staging: dgnc: remove initialization of global
globals variable will be initialied to 0 and the global pointers will be
to NULL. No need to initialize them separately.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c index 7546aff65002..7827ceb830a9 100644 --- a/drivers/staging/dgnc/dgnc_driver.c +++ b/drivers/staging/dgnc/dgnc_driver.c @@ -708,13 +708,6 @@ static void dgnc_poll_handler(ulong dummy) */ static void dgnc_init_globals(void) { - int i = 0; - - dgnc_NumBoards = 0; - - for (i = 0; i < MAXBOARDS; i++) - dgnc_Board[i] = NULL; - init_timer(&dgnc_poll_timer); } |