USB: ftdi_sio: remove unnecessary initialisations
authorJohan Hovold <jhovold@gmail.com>
Thu, 24 Dec 2009 11:42:11 +0000 (12:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:39 +0000 (14:53 -0800)
commitc1284d7726c57c9d2bbc65cd08173fe7f9e637df
tree7e14950ebc97a422a16cb8bf774797df49c0ea1b
parenta3f8168b7a3a7d9dfb9bb9caa1e009a5ce2a8493
USB: ftdi_sio: remove unnecessary initialisations

Return values are being initialised to zero only to be unconditionally
assigned to a few instructions later. This may give the impression that
zero is returned on success, which is not the case.

Note also that ftdi_NDI_device_setup never reports errors.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c