From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Bolle Subject: Re: [PATCH] libata-sff: remove dead code Date: Wed, 07 May 2014 11:23:24 +0200 Message-ID: <1399454604.6659.13.camel@x220> References: <1399204229.8729.15.camel@x220> <1399411616.2458.45.camel@acox1-desk.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from cpsmtpb-ews04.kpnxchange.com ([213.75.39.7]:57498 "EHLO cpsmtpb-ews04.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932265AbaEGJX1 (ORCPT ); Wed, 7 May 2014 05:23:27 -0400 In-Reply-To: <1399411616.2458.45.camel@acox1-desk.ger.corp.intel.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: David Howells , Tejun Heo , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org [Added David.] On Tue, 2014-05-06 at 22:26 +0100, Alan Cox wrote: > On Sun, 2014-05-04 at 13:50 +0200, Paul Bolle wrote: > > Ever since v2.6.19 the code contains a check for CONFIG_NO_ATA_LEGACY. > > But that macro has never been defined. Apparently no one ran into > > problems on platforms that do not support compatibility mode. > > It was needed for some of the FRV devices I belive. Please check with > David Howells if it's still relevant This code has been behind (effectively) an "#if 0" check for seven years. So either there was no problem to begin with, the problem is fixed somewhere else, or no one is actually using the affected devices. So I doubt this is still relevant. But maybe David thinks otherwise... > (even if its not used in the default configs) It's not used (and has never been used) regardless which config one tries. Paul Bolle