commit | d2a5e3c6fccb25234a594bacb056e0b3974faf49 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Mon Dec 01 08:24:20 2014 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Dec 01 08:24:20 2014 +1100 |
tree | e7ba3c65936adaf6458bf19359b27c975a1b4eee | |
parent | cac7f2429872d3733dc3f9915857b1691da2eb2f [diff] |
xfs: remove unnecessary null checks 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 <elfring@users.sourceforge.net> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>