diff options
author | Lukas Wunner <[email protected]> | 2019-02-03 09:27:00 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2019-02-25 08:40:58 +0100 |
commit | e5c1e63c932379b89d7404d4e5fde1bf8abff951 (patch) | |
tree | f56ecc6dc5d3da1c1b50e8538f48cdb07626172e /scripts/gdb/linux/utils.py | |
parent | a6327b5e57fdc679c842588c3be046c0b39cc127 (diff) |
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: Stefan Wahren <[email protected]>
Signed-off-by: Lukas Wunner <[email protected]>
Cc: Frank Pavlic <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions