diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2019-02-27 17:06:26 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-02-28 09:42:51 -0800 |
commit | 2f8c9011151337d0bc106693f272f9bddbccfab2 (patch) | |
tree | 6aa5fd999099dc069d24cbe2985f747adf48c239 /drivers/nvdimm/dimm.c | |
parent | 0171b6b78131110a6870d4b7296bc9dfc392116a (diff) | |
download | linux-2f8c9011151337d0bc106693f272f9bddbccfab2.tar.bz2 |
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>
Diffstat (limited to 'drivers/nvdimm/dimm.c')
0 files changed, 0 insertions, 0 deletions