Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932332AbbKMBbT (ORCPT ); Thu, 12 Nov 2015 20:31:19 -0500 Received: from mga01.intel.com ([192.55.52.88]:17837 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932259AbbKMBbQ (ORCPT ); Thu, 12 Nov 2015 20:31:16 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,284,1444719600"; d="scan'208";a="836366827" Subject: Re: [PATCH v2 3/3] usb: core: lpm: remove usb3_lpm_enabled in usb_device To: Alan Stern References: Cc: Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org From: "Lu, Baolu" Message-ID: <56453D62.4030106@linux.intel.com> Date: Fri, 13 Nov 2015 09:31:14 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 31 On 11/13/2015 12:20 AM, Alan Stern wrote: > On Thu, 12 Nov 2015, Lu Baolu wrote: > >> Commit 8306095fd2c1 ("USB: Disable USB 3.0 LPM in critical sections.") >> adds usb3_lpm_enabled member to struct usb_device. There is no reference >> to this member now. Hence, it could be removed. >> >> Signed-off-by: Lu Baolu > Since patch 1/3 removes all the references to usb3_lpm_enabled, that > patch should also remove the member itself. In other words, you might > as well fold this patch into that one. I was thinking that 1/3 is a fix patch. It could be back ported to various kernels. If I merged this patch with 1/3, it might cause problems, i.e. usb3_lpm_enabled is still used in that kernel. Thanks, -baolu > > Alan Stern > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/