soc: fsl: qe: drop pointless check in qe_sdma_init()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 28 Nov 2019 14:55:47 +0000 (15:55 +0100)
committerLi Yang <leoyang.li@nxp.com>
Mon, 9 Dec 2019 19:54:36 +0000 (13:54 -0600)
commit71352b8c4016fbf24e5244877c2ebf93eb9d4c73
tree26814bc3eaf1fe6b004834ee44e948a22381a091
parent4c3e565cc6237e0fc9b60e34420456a7b3fc74f6
soc: fsl: qe: drop pointless check in qe_sdma_init()

The sdma member of struct qe_immap is not at offset zero, so even if
qe_immr wasn't initialized yet (i.e. NULL), &qe_immr->sdma would not
be NULL.

Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/qe.c