]> Git Repo - linux.git/blobdiff - drivers/mtd/lpddr/lpddr_cmds.c
clocksource: Exynos_mct: Use irq_force_affinity() in cpu bringup
[linux.git] / drivers / mtd / lpddr / lpddr_cmds.c
index d38b6460d50565c21fa46978d3f2383d13299e6f..018c75faadb3d30c2de119608536b1335d175fa4 100644 (file)
@@ -55,10 +55,8 @@ struct mtd_info *lpddr_cmdset(struct map_info *map)
        int i, j;
 
        mtd = kzalloc(sizeof(*mtd), GFP_KERNEL);
-       if (!mtd) {
-               printk(KERN_ERR "Failed to allocate memory for MTD device\n");
+       if (!mtd)
                return NULL;
-       }
        mtd->priv = map;
        mtd->type = MTD_NORFLASH;
 
This page took 0.030722 seconds and 4 git commands to generate.