commit | 2979da373471f64a14d67904c969c74cd42b0dda | [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 17:37:39 2020 +0200 |
tree | 6d34af67e219a6a2fe9b99b9156aa8e5ee865d09 | |
parent | 5e66a5e2fd776bf014f06ba8ff569318c5415c71 [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>