Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765562AbZDHNvq (ORCPT ); Wed, 8 Apr 2009 09:51:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764784AbZDHNvX (ORCPT ); Wed, 8 Apr 2009 09:51:23 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:49573 "EHLO out2.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764905AbZDHNvV (ORCPT ); Wed, 8 Apr 2009 09:51:21 -0400 X-Sasl-enc: UF0Ep9+IBA8GCh7XNounLyYSsxyjdap110mU7OrOrYPg 1239198680 Message-ID: <49DCABD6.4080209@fastmail.fm> Date: Wed, 08 Apr 2009 14:51:18 +0100 From: Jack Stone User-Agent: Thunderbird 2.0.0.21 (X11/20090325) MIME-Version: 1.0 To: Bert Wesarg CC: linux-kernel@vger.kernel.org, jeff@garzik.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 06/56] cifs: 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> <36ca99e90904080426r1dd57eddo598df8bae686cae4@mail.gmail.com> In-Reply-To: <36ca99e90904080426r1dd57eddo598df8bae686cae4@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1073 Lines: 40 Fixed patch Thanks Jack -- cifs: Remove void casts From: Jack Stone Remove uneeded void casts Signed-Off-By: Jack Stone --- fs/cifs/transport.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 0ad3e2d..86191b0 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -111,8 +111,7 @@ AllocOplockQEntry(struct inode *pinode, __u16 fid, struct cifsTconInfo *tcon) cERROR(1, ("Null parms passed to AllocOplockQEntry")); return NULL; } - temp = (struct oplock_q_entry *) kmem_cache_alloc(cifs_oplock_cachep, - GFP_KERNEL); + temp = kmem_cache_alloc(cifs_oplock_cachep, GFP_KERNEL); if (temp == NULL) return temp; else { -- 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/