arch: don't memset(0) memory returned by memblock_alloc()
[muen/linux.git] / arch / sparc / kernel / prom_32.c
index 38940afaa696537f29c4d29d06934b033e30fab7..e7126ca4ead7c570728af37f8d94bb43e5d6c047 100644 (file)
@@ -33,8 +33,6 @@ void * __init prom_early_alloc(unsigned long size)
        void *ret;
 
        ret = memblock_alloc(size, SMP_CACHE_BYTES);
-       if (ret != NULL)
-               memset(ret, 0, size);
 
        prom_early_allocated += size;