summaryrefslogtreecommitdiffstats
path: root/samples/uhid
diff options
context:
space:
mode:
authorColin Ian King2017-04-08 19:09:59 +0200
committerJ. Bruce Fields2017-04-25 23:25:56 +0200
commite56efe9322c5bec9ad4f301c8102fcd630694b4c (patch)
tree637506d4743c9808db8612d962fdaf7e9c19ac14 /samples/uhid
parentsvcrdma: Clean out old XDR encoders (diff)
downloadkernel-qcow2-linux-e56efe9322c5bec9ad4f301c8102fcd630694b4c.tar.gz
kernel-qcow2-linux-e56efe9322c5bec9ad4f301c8102fcd630694b4c.tar.xz
kernel-qcow2-linux-e56efe9322c5bec9ad4f301c8102fcd630694b4c.zip
lockd: remove redundant check on block
A null check followed by a return is being performed already, so block is always non-null at the second check on block, hence we can remove this redundant null-check (Detected by PVS-Studio). Also re-work comment to clean up a check-patch warning. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions