Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2671143pxb; Tue, 13 Apr 2021 07:31:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxL1QHbmZqZZWJKmeLWI8GiliLjmZCL13x6ZuiHcGgYFFpp/LtyjAJ+8SfjCXQONPa99MVO X-Received: by 2002:a17:902:a406:b029:e6:78c4:71c8 with SMTP id p6-20020a170902a406b02900e678c471c8mr31841684plq.17.1618324260478; Tue, 13 Apr 2021 07:31:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618324260; cv=none; d=google.com; s=arc-20160816; b=wMxwTuMTUKW/S5utpzxmekOXs8uxqWb2uN8X40cyyEYh2n0wO39U+k4/dM+DmLl1/G 5ouNgwhTD9LqOGtbEeeXEh7xcia43TAH3nv6gkCa1kA9ywTpZ1GIXZco9e1gbzJwUknN A+eGox7tQGfLPOC3vLMrKkByxeO5XaeloJQEWveXDuvHqRj4O50n2wifoFfBchAi/C4+ xhDUeiMg6RWuNmMgvDv2s3CTqG2wJTy8c6g4I6FH0eV3f3a8HZyVzTr2Xf8XecRSENa3 8J67b383kwBT7/94L8N+PZ6ufow1s6p+e161Rff7bsHusu2e0CsWfnTWgzJVJc7CUk0Q u6jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/91edM8OBFYfkrz2ZdB2sQHeIduxGIIkTWUyh2RmcM8=; b=purXGpugcuX7X01KIFa8Sz7pI/PV65AS0vBjjiLmon2iP0BJIZY4Op1JsvRX3Q7p2I sOaMrROZG+dIlk/Jeyb988FzmzhEDdV/znFZAspjUUOduhOjUF0VaebkC+/x8hgHNOtH tsZlvsbSx8A/Ldt1Ker2y+d8jY5UYpRj8fIIxQlcsLu2kHiD7vl5Kg3w3KHf+DbrekYl LF/SwbLdeF1sq2sJNk6UevLh3MMndcp3GLhR9T3I5awoqXiGScunQ+3SwCQSeO6ltnrN TCxOOWSsvg2++l8KyJnXY+xFc+K8MY/hILaNGwTHr6fxd9QVOulnJtHbXgqwUwKYpTDm ZfUA== 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=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si18164673plo.403.2021.04.13.07.30.47; Tue, 13 Apr 2021 07:31:00 -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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231419AbhDMKmW (ORCPT + 99 others); Tue, 13 Apr 2021 06:42:22 -0400 Received: from foss.arm.com ([217.140.110.172]:40104 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229686AbhDMKmU (ORCPT ); Tue, 13 Apr 2021 06:42:20 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2F933106F; Tue, 13 Apr 2021 03:42:01 -0700 (PDT) Received: from e123427-lin.arm.com (unknown [10.57.59.108]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 110233F73B; Tue, 13 Apr 2021 03:41:59 -0700 (PDT) From: Lorenzo Pieralisi To: Colin King , linux-pci@vger.kernel.org, Bjorn Helgaas , Kishon Vijay Abraham I Cc: Lorenzo Pieralisi , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: endpoint: remove redundant initialization of pointer dev Date: Tue, 13 Apr 2021 11:41:54 +0100 Message-Id: <161831050129.2159.13173655949716032262.b4-ty@arm.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20210326190909.622369-1-colin.king@canonical.com> References: <20210326190909.622369-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Mar 2021 19:09:09 +0000, Colin King wrote: > The pointer dev is being initialized with a value that is > never read and it is being updated later with a new value. The > initialization is redundant and can be removed. Applied to pci/endpoint, thanks! [1/1] PCI: endpoint: Remove redundant initialization of pointer dev https://git.kernel.org/lpieralisi/pci/c/80c253bd7f Thanks, Lorenzo