Browse Source

mtd: plat-ram: Remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Jingoo Han 11 years ago
parent
commit
e61e4f40b1
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/mtd/maps/plat-ram.c

+ 0 - 1
drivers/mtd/maps/plat-ram.c

@@ -137,7 +137,6 @@ static int platram_probe(struct platform_device *pdev)
 
 	info = kzalloc(sizeof(*info), GFP_KERNEL);
 	if (info == NULL) {
-		dev_err(&pdev->dev, "no memory for flash info\n");
 		err = -ENOMEM;
 		goto exit_error;
 	}