diff options
| author | Jeff Layton <jlayton@kernel.org> | 2019-07-05 20:26:29 +0300 |
|---|---|---|
| committer | Ilya Dryomov <idryomov@gmail.com> | 2019-09-16 13:06:24 +0300 |
| commit | 27b0a392095d30e452772d4ae636150fd7f2172d (patch) | |
| tree | 215a2b4f6eeae8cf753aa5eb75f4da0eb9572cbd /scripts/patch-kernel | |
| parent | 9f3345d8ec5e226d116ddb7fb86ee71a08a3b9a7 (diff) | |
| download | linux-27b0a392095d30e452772d4ae636150fd7f2172d.tar.xz | |
ceph: remove unneeded test in try_flush_caps
cap->session is always non-NULL, so we can just do a single test for
equality w/o testing explicitly for a NULL pointer.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
