lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 06/56] cifs: Remove void casts
Fixed patch

Thanks

Jack

--

cifs: Remove void casts

From: Jack Stone <jwjstone@fastmail.fm>

Remove uneeded void casts

Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
---

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 {

\
 
 \ /
  Last update: 2009-04-08 15:53    [W:0.400 / U:1.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site