diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-02-10 23:09:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-10 23:30:29 +0100 |
commit | e6d9f86d6b80dec23fd0e90bab114e642dac483e (patch) | |
tree | c793703efd0aae6b49afef6c39917d719e2dbc0e /kernel | |
parent | ocfs2: remove pointless assignment from ocfs2_calc_refcount_meta_credits() (diff) | |
download | linux-e6d9f86d6b80dec23fd0e90bab114e642dac483e.tar.xz linux-e6d9f86d6b80dec23fd0e90bab114e642dac483e.zip |
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 <dan.carpenter@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions