Skip to content
Snippets Groups Projects
Commit e5c1e63c authored by Lukas Wunner's avatar Lukas Wunner Committed by Ulf Hansson
Browse files

mmc: bcm2835: Drop DMA channel error pointer check


bcm2835_add_host() invokes IS_ERR_OR_NULL() on a DMA channel pointer,
however dma_request_slave_channel() (which was used to populate the
pointer) never returns an error pointer.  So a NULL pointer check is
sufficient.

Tested-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent a6327b5e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment