diff options
author | 2019-02-27 17:06:26 -0700 | |
---|---|---|
committer | 2019-02-28 09:42:51 -0800 | |
commit | 2f8c9011151337d0bc106693f272f9bddbccfab2 (patch) | |
tree | 6aa5fd999099dc069d24cbe2985f747adf48c239 /drivers/nvdimm/dimm.c | |
parent | acpi/nfit: Require opt-in for read-only label configurations (diff) | |
download | linux-dev-2f8c9011151337d0bc106693f272f9bddbccfab2.tar.xz linux-dev-2f8c9011151337d0bc106693f272f9bddbccfab2.zip |
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