]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/sparc/kernel/module.c
Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[karo-tx-linux.git] / arch / sparc / kernel / module.c
index f1ddc0d2367947d850e863aa4d0a897705074574..4435488ebe258580afd7177dc61579e2c3727044 100644 (file)
@@ -43,10 +43,6 @@ void *module_alloc(unsigned long size)
 {
        void *ret;
 
-       /* We handle the zero case fine, unlike vmalloc */
-       if (size == 0)
-               return NULL;
-
        ret = module_map(size);
        if (ret)
                memset(ret, 0, size);