diff options
| author | Tony Battersby <[email protected]> | 2023-01-26 21:51:15 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-05-06 17:33:36 +0000 |
| commit | 67a540c60c39d052d9599aa9909023152200a707 (patch) | |
| tree | 62316d1cbcc7bf9e1e8c75540efabbd018db3490 /tools/perf/scripts/python/compaction-times.py | |
| parent | Merge tag 'devicetree-fixes-for-6.4-1' of git://git.kernel.org/pub/scm/linux/... (diff) | |
| download | kernel-67a540c60c39d052d9599aa9909023152200a707.tar.gz kernel-67a540c60c39d052d9599aa9909023152200a707.zip | |
dmapool: remove checks for dev == NULL
dmapool originally tried to support pools without a device because
dma_alloc_coherent() supports allocations without a device. But nobody
ended up using dma pools without a device, and trying to do so will result
in an oops. So remove the checks for pool->dev == NULL since they are
unneeded bloat.
[[email protected]: add check for null dev on create]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 2d55c16c0c54 ("dmapool: create/destroy cleanup")
Signed-off-by: Tony Battersby <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
