summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-06-26 10:19:47 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2008-06-26 10:19:47 +1000
commitec008b3260b01be75f5427d86ec4f2a9fa984ee8 (patch)
treebba304d12606a845d914b46d6568ecdf6123f9be /Documentation
parent1130bb19816c743dc9ab5e9db7120aacb29ac1d0 (diff)
lguest:remove-network-no-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>
Diffstat (limited to 'Documentation')
-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 da1d92982c92..fba7b276fcc7 100644
--- a/Documentation/lguest/lguest.c
+++ b/Documentation/lguest/lguest.c
@@ -958,8 +958,6 @@ static bool handle_tun_input(int fd, struct device *dev)
* early, the Guest won't be ready yet. Wait until the device
* status says it's ready. */
/* FIXME: Actually want DRIVER_ACTIVE here. */
- if (dev->desc->status & VIRTIO_CONFIG_S_DRIVER_OK)
- warn("network: no dma buffer!");
/* Now tell it we want to know if new things appear. */
dev->vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY;