From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8323C21161690 for ; Mon, 1 Oct 2018 20:40:25 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id 36-v6so512817oth.11 for ; Mon, 01 Oct 2018 20:40:25 -0700 (PDT) MIME-Version: 1.0 References: <20181002033500.3383-1-fugz2012@zoho.com> In-Reply-To: <20181002033500.3383-1-fugz2012@zoho.com> From: Dan Williams Date: Mon, 1 Oct 2018 20:40:13 -0700 Message-ID: Subject: Re: [PATCH] libnvdimm, namespace: Drop the repeat assignment for variable dev->parent List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: fugz2012@zoho.com Cc: linux-nvdimm , Linux Kernel Mailing List , Guangzhe GZ1 Fu List-ID: On Mon, Oct 1, 2018 at 8:36 PM GuangZhe Fu wrote: > > From: GuangZhe Fu > > 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 Looks good, applied. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm