From patchwork Tue May 12 02:25:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 48318 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 3F40421550 for ; Tue, 12 May 2015 02:26:36 +0000 (UTC) Received: by wiz9 with SMTP id 9sf14667185wiz.3 for ; Mon, 11 May 2015 19:26:35 -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=7LW4C4hgDYei5NIxq8vDNTCV9uDuvCeKCuO+wMr8IKU=; b=QcmaZMu1Vf8s8o0+Aowb3AFvhDRizA7izbhhUKJ3f/Gn5Z+7MKUFS9ecOHpXFzFJfs ff5voQiliXlj4n2hnPa8ZGc+8VY7JdJ4husFWcAJ4G01Qa8+/CGdmWuLgfnwP7C69gro z+E70L7WWrOXz5z/7nN0YqNzR4PrsbNtqUg6lKOBelQjCU4n3ndw/BB3z+KwabGUDpkC ii7yrsmUrKe7SldEm+HM/RFysRPitNrlpT3B+QlVlo5fV12PljWXNaFeIFZlGLtNCiRn q6roIPH3GqMUtISxWEcYtPwX5cV2ASElvnWZa7Yt8nh66D/eQ8g+2HTCZvX/jvG8+7bG sLwQ== X-Gm-Message-State: ALoCoQm148G5R5TSMmWU0lEgb/hlCXldqS2HVv3gFAp4fge8aqydiaJhUpO0PUKayesSvLgMe9Em X-Received: by 10.180.7.138 with SMTP id j10mr9673805wia.2.1431397595595; Mon, 11 May 2015 19:26:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.134 with SMTP id 6ls683416lam.36.gmail; Mon, 11 May 2015 19:26:35 -0700 (PDT) X-Received: by 10.152.37.8 with SMTP id u8mr10178852laj.83.1431397595434; Mon, 11 May 2015 19:26:35 -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 ms4si9417017lbb.65.2015.05.11.19.26.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 19:26:35 -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 layy10 with SMTP id y10so106504895lay.0 for ; Mon, 11 May 2015 19:26:35 -0700 (PDT) X-Received: by 10.112.204.72 with SMTP id kw8mr10259116lbc.88.1431397595306; Mon, 11 May 2015 19:26:35 -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 hn6csp1819756lbb; Mon, 11 May 2015 19:26:34 -0700 (PDT) X-Received: by 10.140.95.85 with SMTP id h79mr17039865qge.68.1431397593914; Mon, 11 May 2015 19:26:33 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l109si14804658qga.93.2015.05.11.19.26.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 May 2015 19:26:33 -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]:40467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrztw-0000xY-Vq for patch@linaro.org; Mon, 11 May 2015 22:26:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrzt7-0008PS-MP for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrzt4-0007nk-7P for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:41 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:34284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrzt4-0007nT-3G for qemu-devel@nongnu.org; Mon, 11 May 2015 22:25:38 -0400 Received: by pacyx8 with SMTP id yx8so126701879pac.1 for ; Mon, 11 May 2015 19:25:37 -0700 (PDT) X-Received: by 10.68.227.42 with SMTP id rx10mr24041771pbc.28.1431397537553; Mon, 11 May 2015 19:25:37 -0700 (PDT) Received: from localhost ([180.150.141.243]) by mx.google.com with ESMTPSA id yn5sm14472675pac.48.2015.05.11.19.25.31 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 May 2015 19:25:36 -0700 (PDT) From: shannon.zhao@linaro.org To: qemu-devel@nongnu.org Date: Tue, 12 May 2015 10:25:16 +0800 Message-Id: <1431397521-2316-2-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.49 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 1/6] hw/s390x/s390-virtio-bus: 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.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 From: Shannon Zhao Signed-off-by: Shannon Zhao Signed-off-by: Shannon Zhao --- hw/s390x/s390-virtio-bus.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-virtio-bus.c index 1a72b56..273bd9c 100644 --- a/hw/s390x/s390-virtio-bus.c +++ b/hw/s390x/s390-virtio-bus.c @@ -536,17 +536,12 @@ static unsigned virtio_s390_get_features(DeviceState *d) /**************** S390 Virtio Bus Device Descriptions *******************/ -static Property s390_virtio_net_properties[] = { - DEFINE_PROP_END_OF_LIST(), -}; - static void s390_virtio_net_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); VirtIOS390DeviceClass *k = VIRTIO_S390_DEVICE_CLASS(klass); k->realize = s390_virtio_net_realize; - dc->props = s390_virtio_net_properties; set_bit(DEVICE_CATEGORY_NETWORK, dc->categories); } @@ -575,17 +570,12 @@ static const TypeInfo s390_virtio_blk = { .class_init = s390_virtio_blk_class_init, }; -static Property s390_virtio_serial_properties[] = { - DEFINE_PROP_END_OF_LIST(), -}; - static void s390_virtio_serial_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); VirtIOS390DeviceClass *k = VIRTIO_S390_DEVICE_CLASS(klass); k->realize = s390_virtio_serial_realize; - dc->props = s390_virtio_serial_properties; set_bit(DEVICE_CATEGORY_INPUT, dc->categories); } @@ -655,17 +645,12 @@ static const TypeInfo virtio_s390_device_info = { .abstract = true, }; -static Property s390_virtio_scsi_properties[] = { - DEFINE_PROP_END_OF_LIST(), -}; - static void s390_virtio_scsi_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); VirtIOS390DeviceClass *k = VIRTIO_S390_DEVICE_CLASS(klass); k->realize = s390_virtio_scsi_realize; - dc->props = s390_virtio_scsi_properties; set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); }