]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/lockd/svcshare.c
Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
[linux-2.6-omap-h63xx.git] / fs / lockd / svcshare.c
index 6220dc2a3f2c246e31817902a674648321fd6873..068886de4dda19b176ab2340da64269c05d87da1 100644 (file)
@@ -39,7 +39,7 @@ nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file,
                        return nlm_lck_denied;
        }
 
-       share = (struct nlm_share *) kmalloc(sizeof(*share) + oh->len,
+       share = kmalloc(sizeof(*share) + oh->len,
                                                GFP_KERNEL);
        if (share == NULL)
                return nlm_lck_denied_nolocks;