diff options
author | Dan Carpenter | 2019-04-24 16:24:37 +0200 |
---|---|---|
committer | Christoph Hellwig | 2019-04-24 16:28:13 +0200 |
commit | 148a97d5a02a62f81b5d6176f871c94a65e1f3af (patch) | |
tree | ff277737564f9c4331054c98d70055d9b0f8473a /arch/arm/kernel | |
parent | x86/dma: Remove the x86_dma_fallback_dev hack (diff) | |
download | kernel-qcow2-linux-148a97d5a02a62f81b5d6176f871c94a65e1f3af.tar.gz kernel-qcow2-linux-148a97d5a02a62f81b5d6176f871c94a65e1f3af.tar.xz kernel-qcow2-linux-148a97d5a02a62f81b5d6176f871c94a65e1f3af.zip |
dma-mapping: remove an unnecessary NULL check
We already dereferenced "dev" when we called get_dma_ops() so this NULL
check is too late. We're not supposed to pass NULL "dev" pointers to
dma_alloc_attrs().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions