summaryrefslogtreecommitdiff
path: root/arch/csky/kernel
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-04-24 17:24:37 +0300
committerChristoph Hellwig <hch@lst.de>2019-04-24 16:28:13 +0200
commit148a97d5a02a62f81b5d6176f871c94a65e1f3af (patch)
treeff277737564f9c4331054c98d70055d9b0f8473a /arch/csky/kernel
parente43e2657fe77a37b13643e2469670ecdb0ba5e10 (diff)
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/kernel')
0 files changed, 0 insertions, 0 deletions