From patchwork Wed Jun 10 15:04:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 49708 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9327A245D4 for ; Wed, 10 Jun 2015 15:07:19 +0000 (UTC) Received: by wgv5 with SMTP id 5sf12750560wgv.0 for ; Wed, 10 Jun 2015 08:07:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=1CCrJ6o0Ou1909rLXKTGhQWtfc+uq0d3zLB10zbbfoc=; b=XNU2T8OGF8Vb6gNWoC1JCiYkqDC2wWebIKFuVS66kdy/2+At38RKw6bXB+zOvkcmF5 cw2p3m+nSYzr5luqE3XzsztNdRiLAGMkwgZiZkYSS9skZ8YeUzqVQfhcWa9A9L4SazI4 oqqQzOYq4OoPmuIVzJLg/D+iK9uQBiLqCzkY0znYrnnQuwXfqy7573ZvLWLctFXiuUZY PqjzL6UDxLcgVKBjyOXS0m/9s+KjoUqUSck4I5JTZFKyfPk9M3U9sKG2O56o88I+ZRMl 1NlZv6cFrCrySMBLWJMB3gc1JYUtp7kQTqjkUAV393NAoesvZGWascwpvhIHgsWby55D gbBw== X-Gm-Message-State: ALoCoQkrUSUNSQCEcEb1zK9RLxoWD4KVQV0zvTyx+TLZ2cUgG7sey+bpDCJLEKht2NwP98Hv7eHU X-Received: by 10.112.55.104 with SMTP id r8mr3357350lbp.18.1433948838887; Wed, 10 Jun 2015 08:07:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.245.43 with SMTP id xl11ls258623lac.21.gmail; Wed, 10 Jun 2015 08:07:18 -0700 (PDT) X-Received: by 10.152.23.4 with SMTP id i4mr4522136laf.51.1433948838723; Wed, 10 Jun 2015 08:07:18 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id lc2si9281717lac.24.2015.06.10.08.07.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jun 2015 08:07:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by labko7 with SMTP id ko7so35356622lab.2 for ; Wed, 10 Jun 2015 08:07:18 -0700 (PDT) X-Received: by 10.152.44.166 with SMTP id f6mr4599326lam.86.1433948838629; Wed, 10 Jun 2015 08:07:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3395486lbb; Wed, 10 Jun 2015 08:07:17 -0700 (PDT) X-Received: by 10.55.20.17 with SMTP id e17mr7352433qkh.102.1433948827618; Wed, 10 Jun 2015 08:07:07 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b77si8915310qhc.43.2015.06.10.08.07.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 10 Jun 2015 08:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:40893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2has-0007Rg-KU for patch@linaro.org; Wed, 10 Jun 2015 11:07:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2hZX-0006QS-B1 for qemu-devel@nongnu.org; Wed, 10 Jun 2015 11:05:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2hZT-00062j-2i for qemu-devel@nongnu.org; Wed, 10 Jun 2015 11:05:43 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:36351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2hZS-00061t-Sp for qemu-devel@nongnu.org; Wed, 10 Jun 2015 11:05:38 -0400 Received: by pabqy3 with SMTP id qy3so36531800pab.3 for ; Wed, 10 Jun 2015 08:05:38 -0700 (PDT) X-Received: by 10.66.65.200 with SMTP id z8mr6619222pas.16.1433948738370; Wed, 10 Jun 2015 08:05:38 -0700 (PDT) Received: from localhost.localdomain ([167.160.116.93]) by mx.google.com with ESMTPSA id w8sm2687917pbt.45.2015.06.10.08.05.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jun 2015 08:05:36 -0700 (PDT) From: Shannon Zhao To: qemu-devel@nongnu.org Date: Wed, 10 Jun 2015 23:04:31 +0800 Message-Id: <1433948676-14395-3-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1433948676-14395-1-git-send-email-shannon.zhao@linaro.org> References: <1433948676-14395-1-git-send-email-shannon.zhao@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.42 Cc: zhaoshenglong@huawei.com, shannon.zhao@linaro.org, mst@redhat.com Subject: [Qemu-devel] [PATCH v2 2/7] virtio-net.h: Remove unsed DEFINE_VIRTIO_NET_PROPERTIES X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shannon.zhao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Remove unsed DEFINE_VIRTIO_NET_PROPERTIES in virtio-net.h and delete a space typo. Signed-off-by: Shannon Zhao Signed-off-by: Shannon Zhao Reviewed-by: Paolo Bonzini Acked-by: Cornelia Huck --- include/hw/virtio/virtio-net.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index c142b42..280dacf 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -107,12 +107,7 @@ typedef struct VirtIONet { * VIRTIO_NET_F_CTRL_GUEST_OFFLOADS feature bit. */ #define VIRTIO_NET_CTRL_GUEST_OFFLOADS 5 - #define VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET 0 - -#define DEFINE_VIRTIO_NET_PROPERTIES(_state, _field) \ - DEFINE_PROP_UINT32("x-txtimer", _state, _field.txtimer, TX_TIMER_INTERVAL),\ - DEFINE_PROP_INT32("x-txburst", _state, _field.txburst, TX_BURST), \ - DEFINE_PROP_STRING("tx", _state, _field.tx) +#define VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET 0 void virtio_net_set_netclient_name(VirtIONet *n, const char *name, const char *type);