rsxx: remove redundant NULL check
authorYang Li <abaci-bugfix@linux.alibaba.com>
Thu, 21 Jan 2021 09:43:22 +0000 (17:43 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Jan 2021 20:15:41 +0000 (13:15 -0700)
commit9abe47cc5cbeda75a1ae2ffe6bb8636a0327eddc
tree38f9f575e11374d821d6d0a43cac596a6aef3e85
parent294ed6b9f00665acc22253044890257c5d9d18c1
rsxx: remove redundant NULL check

Fix below warnings reported by coccicheck:
./drivers/block/rsxx/dma.c:948:3-8: WARNING: NULL check
before some freeing functions is not needed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <abaci-bugfix@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/dma.c