From f28af37459b6ea1bb64f595c4e8931d22d877487 Mon Sep 17 00:00:00 2001 From: Steve French Date: Sun, 21 Jan 2007 22:56:22 +0000 Subject: [PATCH] --- yaml --- r: 45797 b: refs/heads/master c: 76849e3e97a95f1ef4627b10305d38a686fab112 h: refs/heads/master i: 45795: 613a09a6f7890805030ca874f9b5e05a8413895d v: v3 --- [refs] | 2 +- trunk/fs/cifs/misc.c | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 65dbfbe08243..46ec03c883ad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 405c514f95898452db728df6bc79f63e44a3f2d0 +refs/heads/master: 76849e3e97a95f1ef4627b10305d38a686fab112 diff --git a/trunk/fs/cifs/misc.c b/trunk/fs/cifs/misc.c index aedf683f011f..19cc294c7c70 100644 --- a/trunk/fs/cifs/misc.c +++ b/trunk/fs/cifs/misc.c @@ -71,9 +71,7 @@ sesInfoAlloc(void) { struct cifsSesInfo *ret_buf; - ret_buf = - (struct cifsSesInfo *) kzalloc(sizeof (struct cifsSesInfo), - GFP_KERNEL); + ret_buf = kzalloc(sizeof (struct cifsSesInfo), GFP_KERNEL); if (ret_buf) { write_lock(&GlobalSMBSeslock); atomic_inc(&sesInfoAllocCount); @@ -109,9 +107,7 @@ struct cifsTconInfo * tconInfoAlloc(void) { struct cifsTconInfo *ret_buf; - ret_buf = - (struct cifsTconInfo *) kzalloc(sizeof (struct cifsTconInfo), - GFP_KERNEL); + ret_buf = kzalloc(sizeof (struct cifsTconInfo), GFP_KERNEL); if (ret_buf) { write_lock(&GlobalSMBSeslock); atomic_inc(&tconInfoAllocCount);