Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765537AbZDIJ5o (ORCPT ); Thu, 9 Apr 2009 05:57:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760834AbZDIJ43 (ORCPT ); Thu, 9 Apr 2009 05:56:29 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:43400 "EHLO out2.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765575AbZDIJ42 (ORCPT ); Thu, 9 Apr 2009 05:56:28 -0400 X-Sasl-enc: NiQtmp9m5WtrtdJmTZ8wiuy/Hn+qxB/utlsNmACicSL8 1239270987 Message-ID: <49DDC647.10702@fastmail.fm> Date: Thu, 09 Apr 2009 10:56:23 +0100 From: Jack Stone User-Agent: Thunderbird 2.0.0.21 (X11/20090325) MIME-Version: 1.0 To: linux-kernel@vger.kernel.org CC: jeff@garzik.org, kernel-janitors@vger.kernel.org, tony.luck@intel.com Subject: Re: [PATCH 14/56] ia64: Remove void casts References: <> <1239189748-11703-1-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-2-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-3-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-4-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-5-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-6-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-7-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-8-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-9-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-10-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-11-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-12-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-13-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-14-git-send-email-jwjstone@fastmail.fm> <1239189748-11703-15-git-send-email-jwjstone@fastmail.fm> In-Reply-To: <1239189748-11703-15-git-send-email-jwjstone@fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2098 Lines: 57 [Added maintainer CC] Jack Stone wrote: > Remove uneeded void casts > > Signed-Off-By: Jack Stone > --- > arch/ia64/kernel/mca_drv.c | 2 +- > arch/ia64/mm/contig.c | 2 +- > arch/ia64/mm/discontig.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/ia64/kernel/mca_drv.c b/arch/ia64/kernel/mca_drv.c > index f94aaa8..820f34e 100644 > --- a/arch/ia64/kernel/mca_drv.c > +++ b/arch/ia64/kernel/mca_drv.c > @@ -496,7 +496,7 @@ recover_from_read_error(slidx_table_t *slidx, > u64 target_identifier; > pal_min_state_area_t *pmsa; > struct ia64_psr *psr1, *psr2; > - ia64_fptr_t *mca_hdlr_bh = (ia64_fptr_t*)mca_handler_bhhook; > + ia64_fptr_t *mca_hdlr_bh = mca_handler_bhhook; > > /* Is target address valid? */ > target_identifier = get_target_identifier(peidx); > diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c > index 0ee085e..e0d27b0 100644 > --- a/arch/ia64/mm/contig.c > +++ b/arch/ia64/mm/contig.c > @@ -272,7 +272,7 @@ paging_init (void) > map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * > sizeof(struct page)); > vmalloc_end -= map_size; > - vmem_map = (struct page *) vmalloc_end; > + vmem_map = vmalloc_end; > efi_memmap_walk(create_mem_map_page_table, NULL); > > /* > diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c > index d85ba98..f3a45cd 100644 > --- a/arch/ia64/mm/discontig.c > +++ b/arch/ia64/mm/discontig.c > @@ -668,7 +668,7 @@ void __init paging_init(void) > #ifdef CONFIG_VIRTUAL_MEM_MAP > vmalloc_end -= PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * > sizeof(struct page)); > - vmem_map = (struct page *) vmalloc_end; > + vmem_map = vmalloc_end; > efi_memmap_walk(create_mem_map_page_table, NULL); > printk("Virtual mem_map starts at 0x%p\n", vmem_map); > #endif > -- 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/