commit | 4ca7da6e8234c864c8694237c26e4d574b9fd00a | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu Apr 04 14:58:44 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 05 14:33:16 2013 -0700 |
tree | 59bd5dc4d259f4f1be3ee0938aa514723f889bd7 | |
parent | 9162220068c45ce7a564db07ccb45f7462a39eba [diff] |
staging: comedi: remove memset() call from comedi_device_init() `comedi_device_init()` is only called from one place (`comedi_alloc_board_minor()`) and the `struct comedi_device` has already been zeroed out by `kzalloc()`. Don't bother zeroing it out again with `memset()`. 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>