]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: no need to zero out comedi_file_info_table[]
authorIan Abbott <abbotti@mev.co.uk>
Thu, 4 Apr 2013 13:58:43 +0000 (14:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 21:33:16 +0000 (14:33 -0700)
commitb7ba9baa78a9bfc192c7fb6744a9c4c66edb549c
treee513ddc0b2d62d3141c530341036d7a662472a89
parent81264345913a03b4ce934d4736b4d9d74959450d
staging: comedi: no need to zero out comedi_file_info_table[]

In the comedi core module, `comedi_file_info_table[]` is tentatively
defined in the .bss section, so will already be zeroed out on
initialization.  Don't bother zeroing it out again in the module
initialization function `comedi_init()`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c