Re: [PATCH] libnvdimm, namespace: Drop the repeat assignment for variable dev->parent

From: Dan Williams
Date: Mon Oct 01 2018 - 23:40:28 EST


On Mon, Oct 1, 2018 at 8:36 PM GuangZhe Fu <fugz2012@xxxxxxxx> wrote:
>
> From: GuangZhe Fu <fugz1@xxxxxxxxxx>
>
> The variable dev-parent is assigned twice with the same &nd_region->dev. I think we could drop the second one.
>
> Signed-off-by: GuangZhe Fu <fugz1@xxxxxxxxxx>

Looks good, applied.