Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5786719ybi; Sun, 7 Jul 2019 12:38:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYGBT/FJ0jwtpLq8btK/rrIYvHCalzpD/Mo90U34tptRC04pjNOZeNhyadX3T+FQQcA8nm X-Received: by 2002:a17:90a:d998:: with SMTP id d24mr20091701pjv.89.1562528327907; Sun, 07 Jul 2019 12:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562528327; cv=none; d=google.com; s=arc-20160816; b=SHsCqEXcG1oyxwEYtpk9juFogIkBmm3T8tJ8SoK36hFUqWXIunW6rdDsv9tpPBQcdD ODSGC510Ts5AhzOBRNhqmaJ2fT8tcjBQYHJ6ElYv/j3R5ywomo7SWj+uQ+DC2fZXa2VF AbnSnqL2LbXrtvI+HgUHrXEUWxTKWBxuH6hCNT92zg8Hq80JxrtYV1E6zKzfJtOROLHv NW19JI+WoqGUn0eTTLoyIDPFGmTh4nZxqaoo13UivC+1HzLR22i6UqIrx0NB3gUtiJSn 5SP/rQ2hltQzl1GW5MjvxsCb/WXJemvpBsxSOGC/bTFxgRjT1u2O8NN5cUYn1gQA/HYm eajQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=L6timX0gQJEBIxMah3pF3mfpam6FwMoFqJWEfMCkqVc=; b=jyv8Kt306rPN2cSQMszD3Wn24xkxyBv6oOjiGnXFz8SblCVljEueuJW7SGE/WbaUhl 43n3Fcc1xuYc4Q/1siJmIq1VruzMoaisaW4+HlAQtHpEP8n6mY+shN8OnQgyEkwQEE3H uNsPwxYe5DQbjlY0oIDQCpZorScPP/My8hbxnAZ6LsRoLtFsMiu+zm2LCSLjV7a8Ogsc p9MOlHMmI7tKqHJbEmJOk0IVeFlnk+ylh1YZM/bYKAw4TN2Ksjj4NzZWYCdNSkmNqhrW LrSbC/CW2Ij8yrFH0GtXA3vxj9Ak3P0xH/HCzbBP9aN5/Y4et1IHThSq06EnUKOKGKCE cKWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DjO120H1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cx7si14442552pjb.51.2019.07.07.12.38.11; Sun, 07 Jul 2019 12:38:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DjO120H1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727283AbfGGSq3 (ORCPT + 99 others); Sun, 7 Jul 2019 14:46:29 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38944 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbfGGSq3 (ORCPT ); Sun, 7 Jul 2019 14:46:29 -0400 Received: by mail-wm1-f66.google.com with SMTP id z23so14205077wma.4 for ; Sun, 07 Jul 2019 11:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L6timX0gQJEBIxMah3pF3mfpam6FwMoFqJWEfMCkqVc=; b=DjO120H1Z7WiybUUq/FmlobfZa+0Tjq2/BBSi8wrF94PSYVlvDjUg6zU1JBbgBRW/V jR6mC9zd5YO7XyYs6j78VgXOGQ9o77M0zBe9oQIG8PVruN0uMFQB8rAb7HMVfgtPRb/W x8dYcmSMvvoNrSRQ+l25JyEe8MvOl9dk8KZbCmY9uKT0SkDAF3+FzUtbeydT2IAKpWlt ThVrveUStdnioYPWHxgo+I6X+9+vWU9Fue1nE4oIky9eAhFkjw2dTu7q2dTr/hI1n64b qEp2+n0+S5NEeIW641OuRxaWmywIBug3B27Qn/mhQXwV0uKISvtJLXOBSFfI8XFo5avU Cb7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L6timX0gQJEBIxMah3pF3mfpam6FwMoFqJWEfMCkqVc=; b=sAlSp0ZcvBQ374pp9sc/1ilD2EEnztSyNT7B00hah8PGgShj8n9xRIixCoZ12haBgZ Cc1kfGnxnyOpIcsOyzCLUO6zvEgDya2Ea7Rov6FI0XYDbJUUiKwedfgigA0MNCQ9rgvA lOEm9PLGrohDNlDWaTD9xd+qeWATc7ZptGQ0u+ejbxBYhZ3htYrxsNTPPSwUQP7vdFoC XpG+1fGqNvUtWT5RmcRHIaAep2WI4P3KNJM1BZg78HYbMmuXdiOB1dzeaN4sYB0jgfw3 ASj3b3Q2AeZK8Hv0Ev3Ay9vYmX1z3+vdCFi5pUg2+trAJkp6G17FwDnht2r+QdIhEQ16 F46Q== X-Gm-Message-State: APjAAAWBqo7frV/biQs0XPNWTbRuUDSKUHPI4CuLdGkWVR8Gju+p6PO6 EexofvEu9KprkdxVsL4Udmni5kCFPUw0z2vm7hg= X-Received: by 2002:a1c:9e4d:: with SMTP id h74mr13651549wme.9.1562525187486; Sun, 07 Jul 2019 11:46:27 -0700 (PDT) MIME-Version: 1.0 References: <1559114302-10507-1-git-send-email-dingxiang@cmss.chinamobile.com> In-Reply-To: <1559114302-10507-1-git-send-email-dingxiang@cmss.chinamobile.com> From: Richard Weinberger Date: Sun, 7 Jul 2019 20:46:16 +0200 Message-ID: Subject: Re: [PATCH] mtd: afs: remove unneeded NULL check To: Ding Xiang Cc: David Woodhouse , Brian Norris , Marek Vasut , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 29, 2019 at 9:19 AM Ding Xiang wrote: > > NULL check before kfree is unneeded, so remove it. > > Signed-off-by: Ding Xiang Applied. -- Thanks, //richard