From patchwork Tue May 12 02:25:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 48320 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DF46021550 for ; Tue, 12 May 2015 02:26:53 +0000 (UTC) Received: by lbos2 with SMTP id s2sf42787571lbo.2 for ; Mon, 11 May 2015 19:26:52 -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=l1pR9Y3TyXpUGDV3VLFI2gIPOpAIV1BkRKiW9Tqprkk=; b=iLlytuwEVyvc8fORUeE+ZJcAHucj8Hr/Lf9OnJ9lCTE5o6nBeJEGg8JPKvA0xX4s3y TJ6Q1y566zluMHS6IkGLtk7ZpYsHwB1dF6+EIGrt0N4+49R3BEa2ivqEDtlgwOsNzxdC dPaHMu2h7GT9hzyQiRbfvP6tHYeF4g2OkMwGh+HPA9MEEYqUL02XcG3SxOvA9U6D7Gk5 iwsbose22ScPAUkQR7XSvD6XTTH7tiWISTGcs/hZdxh1LWAS/+U09S7JcMeN/duErpek CGJ8yhE7GrcNZdOVAE08DwcuVlHXsGu33wHtQKdkdLMejRigko2OrLa+nWMndPgFDjuj 5tXA== X-Gm-Message-State: ALoCoQmFF4I2yvSQJpu5u0DhhxyYlpHixrIu5Kozw7TvwfqSJYQqMQToWGNZM1eYvM/spIIdaBtD X-Received: by 10.152.88.73 with SMTP id be9mr9201782lab.2.1431397612702; Mon, 11 May 2015 19:26:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.180.202 with SMTP id dq10ls718944lac.109.gmail; Mon, 11 May 2015 19:26:52 -0700 (PDT) X-Received: by 10.112.140.9 with SMTP id rc9mr10364195lbb.14.1431397612558; Mon, 11 May 2015 19:26:52 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id ac10si9402341lbc.134.2015.05.11.19.26.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 19:26:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lagv1 with SMTP id v1so106514699lag.3 for ; Mon, 11 May 2015 19:26:52 -0700 (PDT) X-Received: by 10.152.37.228 with SMTP id b4mr1987985lak.117.1431397612431; Mon, 11 May 2015 19:26:52 -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 hn6csp1819837lbb; Mon, 11 May 2015 19:26:51 -0700 (PDT) X-Received: by 10.140.195.14 with SMTP id q14mr17967398qha.78.1431397611288; Mon, 11 May 2015 19:26:51 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 82si14786936qhw.114.2015.05.11.19.26.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 May 2015 19:26:51 -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]:40470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrzuE-0001VU-4T for patch@linaro.org; Mon, 11 May 2015 22:26:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrztI-0000Kn-LX for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrztE-0007r1-Dj for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:52 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:33408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrztE-0007qr-9e for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:48 -0400 Received: by pdbnk13 with SMTP id nk13so163087038pdb.0 for ; Mon, 11 May 2015 19:25:47 -0700 (PDT) X-Received: by 10.66.242.138 with SMTP id wq10mr24215868pac.143.1431397547751; Mon, 11 May 2015 19:25:47 -0700 (PDT) Received: from localhost ([180.150.141.243]) by mx.google.com with ESMTPSA id vi5sm14360187pbc.89.2015.05.11.19.25.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 May 2015 19:25:46 -0700 (PDT) From: shannon.zhao@linaro.org To: qemu-devel@nongnu.org Date: Tue, 12 May 2015 10:25:18 +0800 Message-Id: <1431397521-2316-4-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1431397521-2316-1-git-send-email-shannon.zhao@linaro.org> References: <1431397521-2316-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.182 Cc: peter.maydell@linaro.org, hangaohuai@huawei.com, qemu-trivial@nongnu.org, mjt@tls.msk.ru, peter.huangpeng@huawei.com, zhaoshenglong@huawei.com, christoffer.dall@linaro.org Subject: [Qemu-devel] [PATCH 3/6] hw/virtio/virtio-pci: Remove meaningless blank Property 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.43 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 Signed-off-by: Shannon Zhao Signed-off-by: Shannon Zhao --- hw/virtio/virtio-pci.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 5c173c4..47be00f 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -1410,10 +1410,6 @@ static const TypeInfo virtio_net_pci_info = { /* virtio-rng-pci */ -static Property virtio_rng_pci_properties[] = { - DEFINE_PROP_END_OF_LIST(), -}; - static void virtio_rng_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) { VirtIORngPCI *vrng = VIRTIO_RNG_PCI(vpci_dev); @@ -1440,7 +1436,6 @@ static void virtio_rng_pci_class_init(ObjectClass *klass, void *data) k->realize = virtio_rng_pci_realize; set_bit(DEVICE_CATEGORY_MISC, dc->categories); - dc->props = virtio_rng_pci_properties; pcidev_k->vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET; pcidev_k->device_id = PCI_DEVICE_ID_VIRTIO_RNG;