From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757881Ab1FPUiF (ORCPT ); Thu, 16 Jun 2011 16:38:05 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:57711 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753013Ab1FPUiC (ORCPT ); Thu, 16 Jun 2011 16:38:02 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Wym7z+J4gPulgZXJmOMUPv8FMD30KOC+AP7fUvW6Zo/UI7I8pFEMA76J2eW1laRM4Z wOzv9k9uMewXBDtPnbb+zeAKgeWbn6fIluHZA5WP5IJlHej0nO4C/cGAsVUE4eICzc4e Gai79U56MH2WoBwuF6s/sOmP+np2fyG4eiUvk= Message-ID: <4DFA69A6.2090507@suse.cz> Date: Thu, 16 Jun 2011 22:37:58 +0200 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110531 Thunderbird/5.0b1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Am=E9rico_Wang?= CC: FUJITA Tomonori , Vinod Koul , Dan Williams , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [Patch] dma: remove DMA_xxBIT_MASK macros References: <20110616090037.GA10326@cr0.redhat.com> In-Reply-To: <20110616090037.GA10326@cr0.redhat.com> X-Enigmail-Version: 1.2a2pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/16/2011 11:00 AM, Américo Wang wrote: > > git grep shows there are no users in tree, so we can > remove them safely. > > Signed-off-by: WANG Cong > Cc: FUJITA Tomonori Oh, my __deprecated hack goes away. Nice :). Acked-by: Jiri Slaby > --- > Documentation/feature-removal-schedule.txt | 7 ------- > include/linux/dma-mapping.h | 21 --------------------- > 2 files changed, 0 insertions(+), 28 deletions(-) > > diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt > index 72e2384..8e2d816 100644 > --- a/Documentation/feature-removal-schedule.txt > +++ b/Documentation/feature-removal-schedule.txt > @@ -474,13 +474,6 @@ Who: FUJITA Tomonori > > ---------------------------- > > -What: DMA_xxBIT_MASK macros > -When: Jun 2011 > -Why: DMA_xxBIT_MASK macros were replaced with DMA_BIT_MASK() macros. > -Who: FUJITA Tomonori > - > ----------------------------- > - > What: iwlwifi disable_hw_scan module parameters > When: 2.6.40 > Why: Hareware scan is the prefer method for iwlwifi devices for > diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h > index ba8319a..dc77808 100644 > --- a/include/linux/dma-mapping.h > +++ b/include/linux/dma-mapping.h > @@ -54,27 +54,6 @@ struct dma_map_ops { > > #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) > > -typedef u64 DMA_nnBIT_MASK __deprecated; > - > -/* > - * NOTE: do not use the below macros in new code and do not add new definitions > - * here. > - * > - * Instead, just open-code DMA_BIT_MASK(n) within your driver > - */ > -#define DMA_64BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(64) > -#define DMA_48BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(48) > -#define DMA_47BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(47) > -#define DMA_40BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(40) > -#define DMA_39BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(39) > -#define DMA_35BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(35) > -#define DMA_32BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(32) > -#define DMA_31BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(31) > -#define DMA_30BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(30) > -#define DMA_29BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(29) > -#define DMA_28BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(28) > -#define DMA_24BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(24) > - > #define DMA_MASK_NONE 0x0ULL > > static inline int valid_dma_direction(int dma_direction) > -- > 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/ > -- js suse labs