Re: [Qemu-devel] [PATCH v3 05/13] qobject: Drop useless QObject casts

2017-04-07 Thread Stefan Hajnoczi
On Wed, Apr 05, 2017 at 02:47:33PM -0500, Eric Blake wrote: > We have macros in place to make it less verbose to add a subtype > of QObject to both QDict and QList. While we have made cleanups > like this in the past (see commit fcfcd8ffc, for example), having > it be automated by Coccinelle makes

[Qemu-devel] [PATCH v3 05/13] qobject: Drop useless QObject casts

2017-04-05 Thread Eric Blake
We have macros in place to make it less verbose to add a subtype of QObject to both QDict and QList. While we have made cleanups like this in the past (see commit fcfcd8ffc, for example), having it be automated by Coccinelle makes it easier to maintain. Patch created mechanically via: spatch --s