Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp615732pxj; Thu, 13 May 2021 12:38:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHKC0H0x0K3wAlZkn9Y1h3lK5ctl3qNhUbZDZmzqm9/xsTTcK+Z8kFxj1Uos+vZpyq4vzV X-Received: by 2002:a17:906:68c:: with SMTP id u12mr7897394ejb.470.1620934734683; Thu, 13 May 2021 12:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620934734; cv=none; d=google.com; s=arc-20160816; b=CVxbeQmWnxvEgEyJCzwuTC01GSD3/D4ktEWDS/2ECpXmEKpkqfxHV1XCsS4RBGCRO/ c2nRSfahSiOZDPiwzc13FkoyOrHKENzyG8L+KtciilLRXkvYiDtPjZk8agbO+sBWi2z3 wRHf+wopY8in16hTQZ9R4iNPXqRaalU4fId5C3qin2VSw8Aht5FGkAb8uwbmVlNMwUc9 L8RBgKmloEHG4CRB+q+SWLMbT3YcdIZH+Fh6LJs4QHXXrPWnV0AoVXdaE/ix/pjQZZ1u 74qPOZFYIOw/iqc94q5KbwjG4joZRbg88GkSkowkr40P8WFWcwfd6jmtTndfI36qfhZV Auvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=pCquCGF0uwBmRr9NPYkXpwP08rWkvRYkvEKsvXoX1po=; b=bkSd/FsWgWeY5oAypCMyIZM+JpW5nx7Kb/onals0pzS/g60DuIh2Tp4ccTr7yBywrh d7XtzDLK8yAPFjyaxWDhkCaDEIeFuMxH0MkVXuSLE0P7J62v/ijLC+pgQSjEr0M7ID9Q Kz3E80CnOIHdpI2W8Zph6ISe+f7i7IV9bWWD+xU6WfSldkny4y5M4dZ8vEmrdN/ihVaU LCCu4eckdN3YEzobb9WZ8krQkiQ5fK33m/V0c/BLndKbfRF9DnVGFqJvLNOa2o9gBVDS dhQCoIvSk/6zbT0rSCaPr6WPgXAewXeJmBMBZGegCW3iFdeFtb9Ls2GMRKPdDe6zIbu9 0t4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si4197046edt.42.2021.05.13.12.38.31; Thu, 13 May 2021 12:38:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233890AbhEMN3u (ORCPT + 99 others); Thu, 13 May 2021 09:29:50 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2722 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234045AbhEMN3P (ORCPT ); Thu, 13 May 2021 09:29:15 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fgspq0x91z16P3H; Thu, 13 May 2021 21:25:23 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.498.0; Thu, 13 May 2021 21:27:54 +0800 From: Qi Liu To: , , CC: , , , Subject: [PATCH 2/3] coresight: core: Remove unnecessary assignment Date: Thu, 13 May 2021 21:27:48 +0800 Message-ID: <1620912469-52222-3-git-send-email-liuqi115@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1620912469-52222-1-git-send-email-liuqi115@huawei.com> References: <1620912469-52222-1-git-send-email-liuqi115@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Junhao He Remove unnecessary assignment of "path" in coresight_release_path(). Signed-off-by: Junhao He Signed-off-by: Qi Liu --- 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 4ddf3d2..d75b19a 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 */ -- 2.7.4