acpi/nfit: Remove duplicate set nd_set in acpi_nfit_init_interleave_set()
authorWei Yang <richardw.yang@linux.intel.com>
Tue, 15 Jan 2019 03:09:46 +0000 (11:09 +0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 15 Jan 2019 02:59:08 +0000 (18:59 -0800)
commitb4fe30e45a660efa8f122070fc7173715d0e1d00
tree1a3496dcc6aa3823497e9ced479510f8220910fc
parent0919871ac37fdcf46c7657da0f1742efe096b399
acpi/nfit: Remove duplicate set nd_set in acpi_nfit_init_interleave_set()

We allocate nd_set in acpi_nfit_init_interleave_set() and assignn it to
ndr_desc, while the assignment is done twice in this function.

This patch removes the first assignment. No functional change.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c