From patchwork Mon Jun 14 17:58:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 12319587 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36C07C2B9F4 for ; Mon, 14 Jun 2021 18:01:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E603A610A3 for ; Mon, 14 Jun 2021 18:01:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E603A610A3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xUAjFoy5AldNKkMYbN6I4OThAQXU3mVBe/23srEP+Ug=; b=nXXyXK6bMlDxdF SRAbJOZ6TCLSPHxn2cQZkVkGFB0c3MgWbP91wWEpgHnFIBK1prST74b3irzNlngmjMDnBqO7tCKS+ mAxf/KsUxXCKYiF+S4bcJsNHsv81TFzGswKqS/Jg/b9s0pAatZHjTOXvuBC8e58darIzFb5lzwxZW MBKovFZI5Fuu5g7AfyEShzkBRWz9N0ApOy6lhht6q2AvjPGNRl3XR02VTB6vw7aqHwPi2S3ebudgJ n0IqqpDhLB+MJX7R1R1fOKNgwmV36C9+joeb4K6k3vtlsGUi6l07vN+TecI3l9IXLWHPgGEW6b6zk X51z+t/JM6YX4lzOKaNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsqs6-00FZHj-8w; Mon, 14 Jun 2021 17:59:38 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsqrd-00FZAk-H4 for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 17:59:11 +0000 Received: by mail-pf1-x434.google.com with SMTP id a127so5296321pfa.10 for ; Mon, 14 Jun 2021 10:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h/QDeFjtMgi1HBYFO8EOevMSeBwA/eWvtJzREuD3r1E=; b=mqYEDk2UGTZrPw22kRYjzzFv5rQbTOVIMkM2bha4BgEHZxECOrBuBLVEGFqh9ti/ok /a89zN9cz9ZOd0A58TqBsJKd3oWHG/dDh01pnsiRjFvr4x9oFWIhY6aumI2jgzYXuAa9 mnzHchD++sIUzAbYWdWqcRrr4XpZ2AsaLkND9cvnjza7CAxt5ddVmaRqDkBHDJ9k80Wo VNG4duh+D6x9JkAA31pomcE5H8SDkYN0Fr0dWoFRBTPNKnNA8L6oyGYExE1s8BZC9taU 9Fywz1a+1SfPkg8P98x7HV/dywEAYVPtxaAuoAa6/48h9MLMPkVzF1lg2uxIp+UIvTIa kQRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h/QDeFjtMgi1HBYFO8EOevMSeBwA/eWvtJzREuD3r1E=; b=OgMwIKEsis8Xx8EXJQrUULcoDw7tGktYz0B6/at4Ro22ew3/Qj+Iv2F8E5pBfRBg+f wIEz+H+aFOPonZ7aWojmraZZqFIO3T8639HmqC0cq4S3OOnH6pgjx9cfBGoNglxvCibx i+UQbHIJSnU+ewVVfynGKr4/rOPRzynMEAZvemDhPZJ9TxsbmcLd2R1Cz4Y6Y/DNaSQZ hLyLfAie7j8DzzDz5wvp4W4S9HmU8G2OoSwEDiAifgjQlHGz77djz1WUTDf+GYQJoZa/ k9drYoaMSFIjnmGuysvicRbY17miBVYsWE0co1QKjMepUPlqgv0Lnq8ybDviqKmL0v2z 67Lg== X-Gm-Message-State: AOAM530z0IX1qwrTjo4CdfFjqj8KYbIal5jlULI280inIojWD/+J59qg GhgnkTdKAw5iKgOZRsActOJNNw== X-Google-Smtp-Source: ABdhPJyGO9L0NLxP7Tba9wBBPk0rRxMxgZFZMszfku14D7tcg/6c4VDuU+F23107hhX3RzcmuE9PTA== X-Received: by 2002:a62:8c55:0:b029:2ea:2165:503d with SMTP id m82-20020a628c550000b02902ea2165503dmr264679pfd.68.1623693548295; Mon, 14 Jun 2021 10:59:08 -0700 (PDT) Received: from p14s.cg.shawcable.net (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id z17sm13553246pfq.218.2021.06.14.10.59.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jun 2021 10:59:07 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] coresight: core: Remove unnecessary assignment Date: Mon, 14 Jun 2021 11:58:58 -0600 Message-Id: <20210614175901.532683-4-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210614175901.532683-1-mathieu.poirier@linaro.org> References: <20210614175901.532683-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_105909_629870_27CCB291 X-CRM114-Status: GOOD ( 11.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Junhao He Remove unnecessary assignment of "path" in coresight_release_path(). Link: https://lore.kernel.org/r/1620912469-52222-3-git-send-email-liuqi115@huawei.com Signed-off-by: Junhao He Signed-off-by: Qi Liu Signed-off-by: Suzuki K Poulose Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c index 20ea4aa619f0..3cb8680c5828 100644 --- a/drivers/hwtracing/coresight/coresight-core.c +++ b/drivers/hwtracing/coresight/coresight-core.c @@ -886,7 +886,6 @@ void coresight_release_path(struct list_head *path) } kfree(path); - path = NULL; } /* return true if the device is a suitable type for a default sink */