]> git.baikalelectronics.ru Git - kernel.git/commit
cifsd: remove unnecessary parentheses around
authorNamjae Jeon <namjae.jeon@samsung.com>
Wed, 26 May 2021 08:59:56 +0000 (17:59 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 26 May 2021 09:13:55 +0000 (18:13 +0900)
commit40bb64cd192d3199084b894e0d49d821b76f13c5
tree785945b15b7b9f971dea571d740045b7c3ee3b1e
parent4a8055bfd97b2cb5188a6bea3cf232691a2c40de
cifsd: remove unnecessary parentheses around

Fix warnings from checkpatch.pl --strict :

 CHECK: Unnecessary parentheses around 'brk_op->o_lease->new_state ==
 SMB2_LEASE_NONE_LE'
 #1511: FILE: oplock.c:1511:
 +               if (brk_op->is_lease &&
 +                   (brk_op->o_lease->new_state == SMB2_LEASE_NONE_LE)
 &&
 +                   atomic_read(&brk_op->breaking_cnt))

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/oplock.c