From: Devendra Naga Date: Wed, 15 Aug 2012 09:11:03 +0000 (+0545) Subject: staging: serqt_usb2: remove retval initialisation in qt_tiocmget and qt_tiocmset X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~919 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b11eb3eaaf049586bc44e2512c5d0cd64eb79df;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed