aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/dimm.c
diff options
context:
space:
mode:
authorVishal Verma <vishal.l.verma@intel.com>2019-02-27 17:06:26 -0700
committerDan Williams <dan.j.williams@intel.com>2019-02-28 09:42:51 -0800
commit2f8c9011151337d0bc106693f272f9bddbccfab2 (patch)
tree6aa5fd999099dc069d24cbe2985f747adf48c239 /drivers/nvdimm/dimm.c
parentacpi/nfit: Require opt-in for read-only label configurations (diff)
downloadlinux-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