summaryrefslogtreecommitdiffstats
path: root/net/x25/x25_dev.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-01-31 07:11:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2020-01-31 19:30:36 +0100
commitd8f18750690367b6a636878e8725f78398fe0748 (patch)
treeabc8916af4b6f3a6a191b7d7dc50178010c1ce34 /net/x25/x25_dev.c
parentocfs2: make local header paths relative to C files (diff)
downloadlinux-d8f18750690367b6a636878e8725f78398fe0748.tar.xz
linux-d8f18750690367b6a636878e8725f78398fe0748.zip
ocfs2/dlm: remove redundant assignment to ret
The variable ret is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses Coverity ("Unused value") Link: http://lkml.kernel.org/r/20191202164833.62865-1-colin.king@canonical.com Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Cc: Mark Fasheh <mark@fasheh.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Cc: Changwei Ge <gechangwei@live.cn> Cc: Gang He <ghe@suse.com> Cc: Jun Piao <piaojun@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/x25/x25_dev.c')
0 files changed, 0 insertions, 0 deletions