commit | 0bb5a1a28ee644798dc3ca167cf9e5ac2058863e | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Mon Oct 01 12:31:18 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 02 15:52:08 2018 -0700 |
tree | 647424c8a70d28b89b7c46c9bb197e3dd3bf0da2 | |
parent | 185647813cac080453cb73a2e034a8821049f2a7 [diff] |
thunderbolt: Remove a meaningless NULL pointer check before dma_pool_destroy dma_pool_destroy() already takes NULL pointer into account so there is no need to check that again in tb_ctl_free(). Signed-off-by: zhong jiang <zhongjiang@huawei.com> [mw: reword commit log a bit] Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>