Skip to content

Commit

Permalink
mm/backing-dev.c: remove recently-added WARN_ON()
Browse files Browse the repository at this point in the history
On second thoughts, this is just going to disturb people while telling us
things which we already knew.

Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
akpm00 authored and torvalds committed Dec 10, 2008
1 parent 437f2f9 commit 69fc208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/backing-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 69fc208

Please sign in to comment.