staging: comedi: comedi_bond: no need to initialize file[]
authorIan Abbott <abbotti@mev.co.uk>
Fri, 23 Aug 2013 13:44:59 +0000 (14:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 13:41:56 +0000 (06:41 -0700)
commita7e240a40c0e9cff7572cda74daea18985ff4aad
tree5c47c6d7ad0849efe6aa283f34e77e7dc4bb0824
parentc2b03cec564afc8c313f39ca7a7b654e8ebda079
staging: comedi: comedi_bond: no need to initialize file[]

The `char file[]` variable in `do_dev_config()` doesn't need to be
initialized as it gets overwritten with a `snprintf()`.  It just needs
to be long enough.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_bond.c