commit | 2f8c9011151337d0bc106693f272f9bddbccfab2 | [log] [tgz] |
---|---|---|
author | Vishal Verma <vishal.l.verma@intel.com> | Wed Feb 27 17:06:26 2019 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Feb 28 09:42:51 2019 -0800 |
tree | 6aa5fd999099dc069d24cbe2985f747adf48c239 | |
parent | 0171b6b78131110a6870d4b7296bc9dfc392116a [diff] |
libnvdimm/btt: Remove unnecessary code in btt_freelist_init 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>