From: Rusty Russell Date: Tue, 29 Jul 2008 14:58:36 +0000 (-0500) Subject: lguest: Remove 'network: no dma buffer!' warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9254926f85466979ef5f0e16386c294bf0973a90;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 --- 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) * 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;