aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGravatar Dan Carpenter <dan.carpenter@oracle.com> 2020-12-01 10:04:34 +0300
committerGravatar Dominique Martinet <asmadeus@codewreck.org> 2020-12-01 08:19:02 +0100
commitcfd1d0f524a87b7d6d14b41a14fa4cbe522cf8cc (patch)
tree8049ba04943044862d1f1a65b5e45147decbc355 /net
parent9p: Uninitialized variable in v9fs_writeback_fid() (diff)
downloadlinux-cfd1d0f524a87b7d6d14b41a14fa4cbe522cf8cc.tar.gz
linux-cfd1d0f524a87b7d6d14b41a14fa4cbe522cf8cc.tar.bz2
linux-cfd1d0f524a87b7d6d14b41a14fa4cbe522cf8cc.zip
9p: Remove unnecessary IS_ERR() check
The "fid" variable can't be an error pointer so there is no need to check. The code is slightly cleaner if we move the increment before the break and remove the NULL check as well. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions