From: Dan Carpenter Date: Tue, 10 Feb 2015 22:09:10 +0000 (-0800) Subject: ocfs2: o2net: silence uninitialized variable warning X-Git-Tag: fixes-v4.0-rc1~155^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6d9f86d6b80dec23fd0e90bab114e642dac483e;p=pandora-kernel.git ocfs2: o2net: silence uninitialized variable warning Smatch complains that, if o2net_tx_can_proceed() returns false, then "sc" and "ret" are uninialized or maybe we are re-using the data from previous iteration. I do not know if we can hit this bug in real life but checking the return value is harmless and we may as well silence the static checker warning. Signed-off-by: Dan Carpenter Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed