diff options
-rw-r--r-- | kernel/relay.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/relay.c b/kernel/relay.c index 09ac2008f77b..d06450670c86 100644 --- a/kernel/relay.c +++ b/kernel/relay.c | |||
@@ -675,9 +675,7 @@ int relay_late_setup_files(struct rchan *chan, | |||
675 | */ | 675 | */ |
676 | for_each_online_cpu(i) { | 676 | for_each_online_cpu(i) { |
677 | if (unlikely(!chan->buf[i])) { | 677 | if (unlikely(!chan->buf[i])) { |
678 | printk(KERN_ERR "relay_late_setup_files: CPU %u " | 678 | WARN_ONCE(1, KERN_ERR "CPU has no buffer!\n"); |
679 | "has no buffer, it must have!\n", i); | ||
680 | BUG(); | ||
681 | err = -EINVAL; | 679 | err = -EINVAL; |
682 | break; | 680 | break; |
683 | } | 681 | } |