From patchwork Tue May 12 02:25:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 48319 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD29021550 for ; Tue, 12 May 2015 02:26:44 +0000 (UTC) Received: by lamp14 with SMTP id p14sf46362795lam.3 for ; Mon, 11 May 2015 19:26:43 -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=dmOwNO820xL9v2+iqcwTEy23Yxo4bdA5aJN7qmoXAdw=; b=jZSaN2pnlX8y5mvsyVoBeyxdj+E9rCubKPB/sHRSnG0GXckmQb/C0vUQizouXWJNNu HWUGT9skXZE63auR0OkXwpnXznvGkLADqC7k0S7eBwwTnWN6QrdHgxd8HKUo95uHDB0v hQIwlohZPSpcddlCSi2u8WWlAyGOsbL4TVVI2/CtO6curIqXkcb1EnJg/Dq/r07yoIBd 7MtSXwkbK9G5EGiyAcRUZK+YSfFD8QoVkYnALL+wvfTdy2X6TfQjO8SBaBF68Qrn96Ud rsVVms98zwv+YDI5jrFZ8xhPPLgQM0JaWJTGFTMV4HYYyoBs1BCDrvmIuRsSDWkzcxtr aEGw== X-Gm-Message-State: ALoCoQmIlCySgDWY/1pj27//7crKefB6jlRIOqS646Y65Gp7TPNAkfN2HFcxsdYq+99dLH/acne8 X-Received: by 10.180.74.197 with SMTP id w5mr9654778wiv.5.1431397603792; Mon, 11 May 2015 19:26:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.1 with SMTP id n1ls597018laa.87.gmail; Mon, 11 May 2015 19:26:43 -0700 (PDT) X-Received: by 10.152.30.100 with SMTP id r4mr10086239lah.107.1431397603634; Mon, 11 May 2015 19:26:43 -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 ok4si9405350lbb.110.2015.05.11.19.26.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 19:26:43 -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 laat2 with SMTP id t2so106529520laa.1 for ; Mon, 11 May 2015 19:26:43 -0700 (PDT) X-Received: by 10.152.27.98 with SMTP id s2mr10279516lag.106.1431397603540; Mon, 11 May 2015 19:26:43 -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 hn6csp1819799lbb; Mon, 11 May 2015 19:26:42 -0700 (PDT) X-Received: by 10.55.40.132 with SMTP id o4mr28498239qko.61.1431397602166; Mon, 11 May 2015 19:26:42 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 93si14813709qkw.104.2015.05.11.19.26.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 May 2015 19:26:42 -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]:40468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrzu5-0001DA-7L for patch@linaro.org; Mon, 11 May 2015 22:26:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrztC-00006t-J0 for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrzt9-0007pP-E5 for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:46 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:33042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrzt9-0007pI-9F for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:43 -0400 Received: by pacwv17 with SMTP id wv17so126777934pac.0 for ; Mon, 11 May 2015 19:25:42 -0700 (PDT) X-Received: by 10.68.57.226 with SMTP id l2mr24222166pbq.104.1431397542784; Mon, 11 May 2015 19:25:42 -0700 (PDT) Received: from localhost ([180.150.141.243]) by mx.google.com with ESMTPSA id pc9sm14414325pdb.6.2015.05.11.19.25.40 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 May 2015 19:25:41 -0700 (PDT) From: shannon.zhao@linaro.org To: qemu-devel@nongnu.org Date: Tue, 12 May 2015 10:25:17 +0800 Message-Id: <1431397521-2316-3-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.220.50 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 2/6] hw/virtio/virtio-balloon: 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.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 From: Shannon Zhao Signed-off-by: Shannon Zhao Signed-off-by: Shannon Zhao --- hw/virtio/virtio-balloon.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index 484c3c3..a3f5709 100644 --- a/hw/virtio/virtio-balloon.c +++ b/hw/virtio/virtio-balloon.c @@ -417,16 +417,11 @@ static void virtio_balloon_device_unrealize(DeviceState *dev, Error **errp) virtio_cleanup(vdev); } -static Property virtio_balloon_properties[] = { - DEFINE_PROP_END_OF_LIST(), -}; - static void virtio_balloon_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); - dc->props = virtio_balloon_properties; set_bit(DEVICE_CATEGORY_MISC, dc->categories); vdc->realize = virtio_balloon_device_realize; vdc->unrealize = virtio_balloon_device_unrealize;