Re: [Qemu-devel] [PATCH 06/17] chardev: Drop useless ChardevDummy type

2016-02-22 Thread Daniel P. Berrange
On Fri, Feb 19, 2016 at 05:19:36PM -0700, Eric Blake wrote: > Commit d0d7708b made ChardevDummy be an empty wrapper type around > ChardevCommon. But there is no technical reason for this indirection, > so simplify the code by directly using the base type. > > Also change the fallback assignment

[Qemu-devel] [PATCH 06/17] chardev: Drop useless ChardevDummy type

2016-02-19 Thread Eric Blake
Commit d0d7708b made ChardevDummy be an empty wrapper type around ChardevCommon. But there is no technical reason for this indirection, so simplify the code by directly using the base type. Also change the fallback assignment to assign u.null rather than u.data, since a future patch will remove