Re: [libvirt] [PATCH 2/4] apparmor: drop useless call to get_profile_name

2019-11-19 Thread Jamie Strandboge
On Wed, 16 Oct 2019, Christian Ehrhardt wrote: > reload_profile calls get_profile_name for no particular gain, lets > remove that call. The string isn't used in that function later on > and not registered/passed anywhere. > > It can only fail if it either can't allocate or if the > virDomainDefPt

[libvirt] [PATCH 2/4] apparmor: drop useless call to get_profile_name

2019-10-16 Thread Christian Ehrhardt
reload_profile calls get_profile_name for no particular gain, lets remove that call. The string isn't used in that function later on and not registered/passed anywhere. It can only fail if it either can't allocate or if the virDomainDefPtr would have no uuid set (which isn't allowed). Thereby the