diff options
| author | Markus Elfring <[email protected]> | 2014-12-02 10:40:33 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-12-03 00:52:37 +0000 |
| commit | 13cb076d3057e0c4b26acb0ee5e5d6ea9b5131c0 (patch) | |
| tree | f2d0aec39e0a8e55dc337acaacc3e8c9b03896fa /drivers/gpu/drm/imx/parallel-display.c | |
| parent | staging: lustre: fix sparse warnings: static function declaration (diff) | |
| download | kernel-13cb076d3057e0c4b26acb0ee5e5d6ea9b5131c0.tar.gz kernel-13cb076d3057e0c4b26acb0ee5e5d6ea9b5131c0.zip | |
lustre: Deletion of unnecessary checks before three function calls
The functions free_ll_remote_perm(), free_rmtperm_hash() and iput() test
whether their argument is NULL and then return immediately.
Thus the test around their calls is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/parallel-display.c')
0 files changed, 0 insertions, 0 deletions
