From patchwork Thu Jun 11 12:00:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 49760 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 078A420C81 for ; Thu, 11 Jun 2015 12:13:23 +0000 (UTC) Received: by wibut5 with SMTP id ut5sf2364299wib.0 for ; Thu, 11 Jun 2015 05:13:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:message-id:references :mime-version:content-type:content-disposition:in-reply-to: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=oQIvF4UZp3PT8dOcBqZxYbzc0Jjt1mlDzSsTBCTGXlY=; b=L9RoNjrVEgyqNTdjsxEFbmwXfcVYFdyUuOTKbhqlbLA+xNMVxdhQK0Ici0105We6Ml QtLe3KELmVdpQ93biuUTFWjveKBCW77QSTfknEfn9aPk4GIeJvGffNokNZQ8VenbgYob XhK6l3gbLRNqcHiquVKw+kB9Spqe7vLCATLTTogUOg7WTlhjOzJQRBZxHAvnFx0K+y4K WzRqkS391Brvr0MkUPMjI5HDgtgp7wI+S0v7KuWaMZqy8/HBqQtRNhacYqtrSXlLsis8 aUGvbpNrswv1YguRalza8UAXDgA0xDAKOMKUftWzkIRLALWmo7RB4BqugeIw/WTyDbfF 7c6Q== X-Gm-Message-State: ALoCoQnjfmeYb6AIAXkjCmN4D/4OELs0Z8n3UbMIElJJwJo56csRtmBokV9fwXVJ7JIRd3n53Kxo X-Received: by 10.112.166.137 with SMTP id zg9mr8159698lbb.11.1434024802316; Thu, 11 Jun 2015 05:13:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.1 with SMTP id n1ls332263laa.87.gmail; Thu, 11 Jun 2015 05:13:22 -0700 (PDT) X-Received: by 10.152.29.234 with SMTP id n10mr9584278lah.101.1434024802138; Thu, 11 Jun 2015 05:13:22 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id ex6si439344lac.82.2015.06.11.05.13.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jun 2015 05:13:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labke4 with SMTP id ke4so3447179lab.0 for ; Thu, 11 Jun 2015 05:13:22 -0700 (PDT) X-Received: by 10.152.6.69 with SMTP id y5mr9425577lay.72.1434024801979; Thu, 11 Jun 2015 05:13:21 -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 hn6csp3998163lbb; Thu, 11 Jun 2015 05:13:20 -0700 (PDT) X-Received: by 10.140.239.136 with SMTP id k130mr11325664qhc.90.1434024800238; Thu, 11 Jun 2015 05:13:20 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id j12si382957qkh.54.2015.06.11.05.13.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 11 Jun 2015 05:13:20 -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]:45602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z31MF-0003zm-9d for patch@linaro.org; Thu, 11 Jun 2015 08:13:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z31AB-0001a9-NR for qemu-devel@nongnu.org; Thu, 11 Jun 2015 08:00:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z31A6-0007eu-2m for qemu-devel@nongnu.org; Thu, 11 Jun 2015 08:00:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z31A5-0007ep-UH for qemu-devel@nongnu.org; Thu, 11 Jun 2015 08:00:46 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 59606365043; Thu, 11 Jun 2015 12:00:45 +0000 (UTC) Received: from redhat.com (ovpn-116-92.ams2.redhat.com [10.36.116.92]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id t5BC0PnY018673; Thu, 11 Jun 2015 08:00:26 -0400 Date: Thu, 11 Jun 2015 14:00:25 +0200 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1434023714-30366-36-git-send-email-mst@redhat.com> References: <1434023714-30366-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1434023714-30366-1-git-send-email-mst@redhat.com> X-Mutt-Fcc: =sent X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Cornelia Huck , Peter Maydell , Paolo Bonzini , Shannon Zhao , Shannon Zhao Subject: [Qemu-devel] [PULL 35/42] 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: mst@redhat.com 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.45 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 From: Shannon Zhao 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 Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- 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);