staging: serqt_usb2: remove retval initialisation in qt_tiocmget and qt_tiocmset
authorDevendra Naga <develkernel412222@gmail.com>
Wed, 15 Aug 2012 09:11:03 +0000 (14:56 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 22:32:13 +0000 (15:32 -0700)
commit7b11eb3eaaf049586bc44e2512c5d0cd64eb79df
tree62ced3e4581379fa9446ff21aca55521bff2edf6
parent68e071d890a5551cf08521c7d75e07b9bef00a8a
staging: serqt_usb2: remove retval initialisation in qt_tiocmget and qt_tiocmset

in qt_tiocmset,

the retval gets assigned if we have a valid serial pointer in the critical section
(between mutex_lock and _unlock) of the code, no need to initialise this variable.

the same retval assignment follows in the qt_tiocmget function also, so remove the
initialisation here too.

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/serqt_usb2/serqt_usb2.c