[libvirt] [PATCH 09/14] xen: Inline xenParseSxprSound into the only caller

Ján Tomko jtomko at redhat.com
Thu Jul 4 12:27:08 UTC 2019


On Wed, Jul 03, 2019 at 02:38:01PM +0200, Peter Krempa wrote:
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/libvirt_xenconfig.syms |  1 -
> src/xenconfig/xen_common.c | 68 ++++++++++++++++++++++++++++++--
> src/xenconfig/xen_sxpr.c   | 81 --------------------------------------
> src/xenconfig/xen_sxpr.h   |  2 -
> 4 files changed, 65 insertions(+), 87 deletions(-)
>

It is the only caller but inlining it increases the indentation level
too much for my taste.

Can you just move the function?

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190704/20a6f515/attachment-0001.sig>


More information about the libvir-list mailing list