commit | e56efe9322c5bec9ad4f301c8102fcd630694b4c | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Sat Apr 08 18:09:59 2017 +0100 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Apr 25 17:25:56 2017 -0400 |
tree | 637506d4743c9808db8612d962fdaf7e9c19ac14 | |
parent | dadf3e435debb85dfcf28c157012047153a21a97 [diff] |
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>