summaryrefslogtreecommitdiffstats
path: root/arch/csky
diff options
context:
space:
mode:
authorDan Carpenter2019-04-24 16:24:37 +0200
committerChristoph Hellwig2019-04-24 16:28:13 +0200
commit148a97d5a02a62f81b5d6176f871c94a65e1f3af (patch)
treeff277737564f9c4331054c98d70055d9b0f8473a /arch/csky
parentx86/dma: Remove the x86_dma_fallback_dev hack (diff)
downloadkernel-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/csky')
0 files changed, 0 insertions, 0 deletions