diff options
| author | Markus Elfring <[email protected]> | 2014-11-30 21:24:20 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2014-11-30 21:24:20 +0000 |
| commit | d2a5e3c6fccb25234a594bacb056e0b3974faf49 (patch) | |
| tree | e7ba3c65936adaf6458bf19359b27c975a1b4eee /drivers/net/xen-netback/interface.c | |
| parent | Linux 3.18-rc2 (diff) | |
| download | kernel-d2a5e3c6fccb25234a594bacb056e0b3974faf49.tar.gz kernel-d2a5e3c6fccb25234a594bacb056e0b3974faf49.zip | |
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
