[libvirt] [PATCH] nwfilter: remove virConnectPtr conn from functions where it is not necessary

Matthias Bolte matthias.bolte at googlemail.com
Mon Apr 5 13:07:27 UTC 2010


2010/4/5 Stefan Berger <stefanb at us.ibm.com>:
> This patch removes the virConnectPtr parameter from all functions where it's not necessary starting out with removing it as a parameter to the error reporting function.
>
> Signed-off-by: Stefan Berger <stefanb at us.ibm.com>
>
> ---
>  src/conf/nwfilter_conf.c                  |  154 ++----
>  src/conf/nwfilter_conf.h                  |   24
>  src/conf/nwfilter_params.c                |    7
>  src/conf/nwfilter_params.h                |    3
>  src/nwfilter/nwfilter_driver.c            |   24
>  src/nwfilter/nwfilter_ebiptables_driver.c |  760 ++++++++++++------------------
>  src/nwfilter/nwfilter_gentech_driver.c    |   51 --
>  src/nwfilter/nwfilter_gentech_driver.h    |    6
>  tests/nwfilterxml2xmltest.c               |    2
>  9 files changed, 423 insertions(+), 608 deletions(-)
>

ACK.

Matthias




More information about the libvir-list mailing list