Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762223AbZDIJqB (ORCPT ); Thu, 9 Apr 2009 05:46:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760417AbZDIJpv (ORCPT ); Thu, 9 Apr 2009 05:45:51 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:60688 "EHLO out2.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757824AbZDIJpu (ORCPT ); Thu, 9 Apr 2009 05:45:50 -0400 X-Sasl-enc: s+m7TNm/b2wEmHyASMfyTihGAZ2Z6AGGAWd2JGDvJnXm 1239270349 Message-ID: <49DDC3CA.70200@fastmail.fm> Date: Thu, 09 Apr 2009 10:45:46 +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, jaharkes@cs.cmu.edu Subject: Re: [PATCH 07/56] coda: 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> In-Reply-To: <1239189748-11703-8-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: 1476 Lines: 43 [Added maintainer CC] Jack Stone wrote: > Remove uneeded void casts > > Signed-Off-By: Jack Stone > --- > fs/coda/inode.c | 2 +- > fs/coda/upcall.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/coda/inode.c b/fs/coda/inode.c > index 830f51a..a0407b3 100644 > --- a/fs/coda/inode.c > +++ b/fs/coda/inode.c > @@ -43,7 +43,7 @@ static struct kmem_cache * coda_inode_cachep; > static struct inode *coda_alloc_inode(struct super_block *sb) > { > struct coda_inode_info *ei; > - ei = (struct coda_inode_info *)kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL); > + ei = kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL); > if (!ei) > return NULL; > memset(&ei->c_fid, 0, sizeof(struct CodaFid)); > diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c > index c274d94..0f2e171 100644 > --- a/fs/coda/upcall.c > +++ b/fs/coda/upcall.c > @@ -59,7 +59,7 @@ static void *alloc_upcall(int opcode, int size) > > #define UPARG(op)\ > do {\ > - inp = (union inputArgs *)alloc_upcall(op, insize); \ > + inp = alloc_upcall(op, insize); \ > if (IS_ERR(inp)) { return PTR_ERR(inp); }\ > outp = (union outputArgs *)(inp); \ > outsize = insize; \ > -- 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/