commit | da9de008fb6a9b2c0161712ec4f708f1e96b0327 | [log] [tgz] |
---|---|---|
author | Vishal Verma <vishal.l.verma@intel.com> | Wed Feb 27 17:06:26 2019 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 27 16:42:00 2020 +0200 |
tree | cd22dc71f240f4d0f8992fbd97d50bfcfb6d044e | |
parent | 5307944aa5e4942670ba9dcf8d9184e49c077ce2 [diff] |
libnvdimm/btt: Remove unnecessary code in btt_freelist_init [ Upstream commit 2f8c9011151337d0bc106693f272f9bddbccfab2 ] We call btt_log_read() twice, once to get the 'old' log entry, and again to get the 'new' entry. However, we have no use for the 'old' entry, so remove it. Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>