Skip to content
Commit a0348a4d authored by Jiasen Lin's avatar Jiasen Lin Committed by Jon Mason
Browse files

NTB: Fix static check warning in perf_clear_test



As pthr->dma_chan can't be NULL in this context, so there is
no need to check pthr->dma_chan.

Fixes: 99a06056 ("NTB: ntb_perf: Fix address err in perf_copy_chunk")
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJiasen Lin <linjiasen@hygon.cn>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent f454f4d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment