diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-03-01 15:07:21 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-03-14 03:29:35 +0100 |
commit | 7c3f4309a0e5d70d164c60cd160262db21cb050d (patch) | |
tree | 0f0e353b4d17b5e746d8ac5a9145c98c89bbb223 /drivers/xen/preempt.c | |
parent | dmaengine: stm32-dma: fix up error dev_err message (diff) | |
download | linux-7c3f4309a0e5d70d164c60cd160262db21cb050d.tar.xz linux-7c3f4309a0e5d70d164c60cd160262db21cb050d.zip |
dmaengine: mv_xor: remove redundant null check on cd
The check to see if cd is null is redundant, pdata->channels is
never null at this point, and hence &pdata->channels[i] cannot
be null, so remove the null check.
Detected by CoverityScan, CID#1357194 ("Logically Dead Code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/xen/preempt.c')
0 files changed, 0 insertions, 0 deletions