Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751967AbdDLAoW (ORCPT ); Tue, 11 Apr 2017 20:44:22 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:33466 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbdDLAoU (ORCPT ); Tue, 11 Apr 2017 20:44:20 -0400 To: Colin King Cc: qla2xxx-upstream@qlogic.com, "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] scsi: qla2xxx: remove some redundant pointer assignments From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170406111957.17250-1-colin.king@canonical.com> Date: Tue, 11 Apr 2017 20:44:08 -0400 In-Reply-To: <20170406111957.17250-1-colin.king@canonical.com> (Colin King's message of "Thu, 6 Apr 2017 12:19:57 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 286 Lines: 10 Colin King writes: > There are several local or function parameter pointers that are > being assigned NULL after a kfree where and these have no effect > and hence can be removed. Applied to 4.12/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering