From patchwork Wed Apr 29 15:24:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 47728 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 3EC342121F for ; Wed, 29 Apr 2015 15:27:42 +0000 (UTC) Received: by wgin8 with SMTP id n8sf7463101wgi.0 for ; Wed, 29 Apr 2015 08:27:41 -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=1DCfs0WtjupaOe/tDOU5ftmRVpnN2Oq6AYgvgsVgcJY=; b=NiYOaR/MpcXVtyKi39cYQn/yAIl0JebCO6XBONyVLquPX/3sfbnbzhK+CpooSN3DA5 EdlhLICEyGwMJCBIhHsFHBvn0qlJLeear/7yLf4ZOubo43+OFlt2NHlcYpo5vpUU+eZg vHA/6w+eZHD865+TQvpOBC9Dp1PMirsiHyGc8K0YApSbt7uaZ7pqv5aeuxB+qPtDsYQ1 kXjkUbj9ZK5sV0gDoLKn25z35QsWB/PGba204Q9JD5J1df8j0C8+GGDRmWpVBs3zMYh/ GB5cVTvgLQCQWmU5ycQZMJPMh/C19GfXHBCAa1/z8QogA5nG5o4aU/nfJAy+McjAsRDE jD6g== X-Gm-Message-State: ALoCoQkm/nzGGl+b4vVAiCSwzuB9jZkHLZlyXYT3uzLI/LzHAj9010IZjCm9/x06RpoPtWpkZ0U8 X-Received: by 10.112.203.168 with SMTP id kr8mr13599121lbc.10.1430321261388; Wed, 29 Apr 2015 08:27:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.182.138 with SMTP id ee10ls230496lac.44.gmail; Wed, 29 Apr 2015 08:27:41 -0700 (PDT) X-Received: by 10.152.116.102 with SMTP id jv6mr19349385lab.50.1430321261180; Wed, 29 Apr 2015 08:27:41 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id zk9si19609014lbb.58.2015.04.29.08.27.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 08:27:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by layy10 with SMTP id y10so22950296lay.0 for ; Wed, 29 Apr 2015 08:27:40 -0700 (PDT) X-Received: by 10.152.37.228 with SMTP id b4mr13377774lak.117.1430321260905; Wed, 29 Apr 2015 08:27:40 -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.67.65 with SMTP id l1csp2574847lbt; Wed, 29 Apr 2015 08:27:40 -0700 (PDT) X-Received: by 10.55.22.23 with SMTP id g23mr28370051qkh.4.1430321258847; Wed, 29 Apr 2015 08:27:38 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [208.118.235.17]) by mx.google.com with ESMTPS id 107si8285580qge.122.2015.04.29.08.27.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Apr 2015 08:27:38 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; Received: from localhost ([::1]:39655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnTti-0001US-4L for patch@linaro.org; Wed, 29 Apr 2015 11:27:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnTrR-0006Ab-Ab for qemu-devel@nongnu.org; Wed, 29 Apr 2015 11:25:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnTrN-0004WD-Fz for qemu-devel@nongnu.org; Wed, 29 Apr 2015 11:25:17 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:35005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnTrN-0004W4-BK for qemu-devel@nongnu.org; Wed, 29 Apr 2015 11:25:13 -0400 Received: by pdbqd1 with SMTP id qd1so31230567pdb.2 for ; Wed, 29 Apr 2015 08:25:12 -0700 (PDT) X-Received: by 10.70.123.168 with SMTP id mb8mr42605185pdb.100.1430321112800; Wed, 29 Apr 2015 08:25:12 -0700 (PDT) Received: from localhost.localdomain ([180.150.153.56]) by mx.google.com with ESMTPSA id cu8sm25875045pad.1.2015.04.29.08.25.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Apr 2015 08:25:11 -0700 (PDT) From: Shannon Zhao To: qemu-devel@nongnu.org Date: Wed, 29 Apr 2015 23:24:04 +0800 Message-Id: <1430321049-11859-3-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1430321049-11859-1-git-send-email-shannon.zhao@linaro.org> References: <1430321049-11859-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.192.169 Cc: peter.maydell@linaro.org, hangaohuai@huawei.com, mst@redhat.com, peter.huangpeng@huawei.com, shannon.zhao@linaro.org, zhaoshenglong@huawei.com, pbonzini@redhat.com, christoffer.dall@linaro.org Subject: [Qemu-devel] [PATCH 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.54 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 --- 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);