Tag: d2a5e3c6fccb25234a594bacb056e0b3974faf49

xfs: remove unnecessary null checks

Author: Markus Elfring <elfring@users.sourceforge.net> The functions xfs_blkdev_put() and xfs_qm_dqrele() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner — fs/xfs/xfs_qm.c | 12 +++++——- fs/xfs/xfs_super.c | 3 +– …

Continue reading