This series mainly implements the conversion of rocker to realize, also remove the dead error handling and rename the unusual macro name.
v6: I posted another patch(commit 4cee3cf3) after patch1 of this series but before patch1 be merged, they changed the same function caused this series not to be applied cleanly on HEAD. so resend v6 to fix it. Because there is no change on the patch content, so still add the R-B. Cc: jasow...@redhat.com Cc: j...@resnulli.us Cc: arm...@redhat.com Cc: f4...@amsat.org Mao Zhongyi (4): net/rocker: Remove the dead error handling net/rocker: Plug memory leak in pci_rocker_init() net/rocker: Convert to realize() net/rocker: Fix the unusual macro name hw/net/rocker/rocker.c | 94 +++++++++++-------------------------------- hw/net/rocker/rocker_desc.c | 10 ----- hw/net/rocker/rocker_fp.c | 4 -- hw/net/rocker/rocker_of_dpa.c | 20 --------- hw/net/rocker/rocker_world.c | 12 +++--- 5 files changed, 28 insertions(+), 112 deletions(-) -- 2.9.4