diff options
author | Minghao Chi <[email protected]> | 2022-09-21 12:48:02 +0900 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-10-03 14:21:44 -0700 |
commit | 0badb2e46a7699d09ef09a2c7f8f4fe66c15e606 (patch) | |
tree | 66489a81dca2be5c5828d8ccb032b5d2005cd5d5 /drivers/fpga/fpga-mgr.c | |
parent | bd17e036b495bebbf07a5fc814c868e30e1dc131 (diff) |
nilfs2: delete unnecessary checks before brelse()
Patch series "nilfs2 minor amendments".
This patch (of 2):
The brelse() inline function tests whether its argument is NULL and then
returns immediately. Thus remove the tests which are not needed around
the shown calls.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Minghao Chi <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
Cc: ye xingchen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions