s390x/css: Allocate channel_subsys statically
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 16 Feb 2016 20:59:05 +0000 (18:59 -0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 1 Mar 2016 11:15:29 +0000 (12:15 +0100)
commit562f5e0b97bf36bec6c22f41f94975a20036edec
treefd38d580815e6d885f159a4bb70ac5a9dff679cb
parent8581c115d2b995e216223f9f9d29fb4810474dc4
s390x/css: Allocate channel_subsys statically

There's no need to use g_malloc0() to allocate the channel_subsys
struct, just use a static variable.

Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <1455656347-29033-3-git-send-email-ehabkost@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
[adapted on top of indicator changes]
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/css.c