net/rds: Remove unnecessary null check
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 11:47:36 +0000 (19:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2019 19:23:03 +0000 (15:23 -0400)
commitce753e66dcc37e19572a87f70585ec6537dede81
tree7b90bb692f4ab26e8a21b0712508f56600c75e27
parent0c5378f9d5003334775ea0e5e9934976aa4a1b66
net/rds: Remove unnecessary null check

Null check before dma_pool_destroy is redundant, so remove it.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib.c