diff options
| author | 2017-10-05 14:09:20 -0400 | |
|---|---|---|
| committer | 2017-10-06 13:03:12 -0600 | |
| commit | 4b14a5c5d57f4fd6929db3427ba4d7c3775b4680 (patch) | |
| tree | f4897492ababa6c43169489e3fc10985983efa87 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | backing-dev: kill unused pdflush_proc_obsolete() (diff) | |
block: remove unnecessary NULL checks in bioset_integrity_free()
mempool_destroy() already checks for a NULL value being passed in, this
eliminates duplicate checks.
This was caught by running make coccicheck M=block/ on linus' tree on
commit 77ede3a014a32746002f7889211f0cecf4803163 (current head as of this
patch).
Reviewed-by: Kyle Fortin <kyle.fortin@oracle.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Tim Hansen <devtimhansen@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
