The patch titled
     CIFS: Remove 2 unneeded kzalloc casts
has been removed from the -mm tree.  Its filename was
     cifs-remove-2-unneeded-kzalloc-casts.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: CIFS: Remove 2 unneeded kzalloc casts
From: "Ahmed S. Darwish" <[EMAIL PROTECTED]>

A patch to remove two unnecessary kzalloc casts.

Signed-off-by: Ahmed Darwish <[EMAIL PROTECTED]>
Cc: Steven French <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 fs/cifs/misc.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff -puN fs/cifs/misc.c~cifs-remove-2-unneeded-kzalloc-casts fs/cifs/misc.c
--- a/fs/cifs/misc.c~cifs-remove-2-unneeded-kzalloc-casts
+++ a/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,8 @@ 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);
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

git-cifs.patch
git-cpufreq.patch
git-dvb.patch
ucc-ether-driver-kmalloc-casting-cleanups.patch
s390-kmalloc-kzalloc-casting-cleanups.patch
dac960-kmalloc-kzalloc-casting-cleanups.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to