aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2019-09-23 15:33:34 -0700
committerLinus Torvalds <[email protected]>2019-09-24 15:54:07 -0700
commita89bd89fae638965ca5a79a3467d79f926260882 (patch)
treebb24d07cfcd6c6206a136a5cd5ab730b53959e36 /include/linux/debugobjects.h
parent77461ba1d17673da47eeb5cccb928e10cf97a01e (diff)
ocfs2: delete unnecessary checks before brelse()
brelse() tests whether its argument is NULL and then returns immediately. Thus the tests around the shown calls are not needed. This issue was detected by using the Coccinelle software. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Joseph Qi <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Cc: Junxiao Bi <[email protected]> Cc: Changwei Ge <[email protected]> Cc: Gang He <[email protected]> Cc: Jun Piao <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions