From: Andrew Morton Date: Tue, 9 Dec 2008 21:14:06 +0000 (-0800) Subject: mm/backing-dev.c: remove recently-added WARN_ON() X-Git-Tag: v2.6.28-rc8~33 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=69fc208be5b7eb18d22d1eca185b201400fd5ffc;p=linux-2.6-omap-h63xx.git mm/backing-dev.c: remove recently-added WARN_ON() On second thoughts, this is just going to disturb people while telling us things which we already knew. Cc: Peter Korsgaard Cc: Peter Zijlstra Cc: Kay Sievers Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 2a56124dbc2..801c08b046e 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -176,7 +176,7 @@ int bdi_register(struct backing_dev_info *bdi, struct device *parent, int ret = 0; struct device *dev; - if (WARN_ON(bdi->dev)) + if (bdi->dev) /* The driver needs to use separate queues per device */ goto exit; va_start(args, fmt);