Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: remove unnecessary NULL check in cleanup_nvme_root()
cleanup_nvme_root() is checking whether the passed pointer is non-NULL, but since the pointer is to a local variable, this will always be true. Therefore, remove the check and always call nvme_free_tree(). Signed-off-by: Caleb Sander Mateos <[email protected]>
- Loading branch information