aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-07-29 10:58:36 -0400
committerRusty Russell <rusty@rustcorp.com.au>2008-07-28 19:58:37 -0400
commit9254926f85466979ef5f0e16386c294bf0973a90 (patch)
treec668e82dd63b50d8aea8b2459a172166880dd4f1
parentaa1249840bfc8d62431eed5796bf99887b963ab6 (diff)
lguest: Remove 'network: no dma buffer!' warning
This warning can happen a lot under load, and it should be warnx not warn anwyay. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--Documentation/lguest/lguest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c
index b2bbbb7f8c57..0d1b0265d8e2 100644
--- a/Documentation/lguest/lguest.c
+++ b/Documentation/lguest/lguest.c
@@ -967,8 +967,6 @@ static bool handle_tun_input(int fd, struct device *dev)
967 * early, the Guest won't be ready yet. Wait until the device 967 * early, the Guest won't be ready yet. Wait until the device
968 * status says it's ready. */ 968 * status says it's ready. */
969 /* FIXME: Actually want DRIVER_ACTIVE here. */ 969 /* FIXME: Actually want DRIVER_ACTIVE here. */
970 if (dev->desc->status & VIRTIO_CONFIG_S_DRIVER_OK)
971 warn("network: no dma buffer!");
972 970
973 /* Now tell it we want to know if new things appear. */ 971 /* Now tell it we want to know if new things appear. */
974 dev->vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY; 972 dev->vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY;