apparmor: drop useless call to get_profile_name
apparmor: drop useless call to get_profile_name

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 only "check" it really provides is if it can allocate the
string to then free it again.

This was initially added in [1] when the code was still in
AppArmorRestoreSecurityImageLabel (later moved) and even back then had
no further effect than described above.

[1]: https://libvirt.org/git/?p=libvirt.git;a=blob;f=src/security/security_apparmor.c;h=16de0f26f41689e0c50481120d9f8a59ba1f4073;hb=bbaecd6a8f15345bc822ab4b79eb0955986bb2fd#l487

Reviewed-by: Cole Robinson <7cd45ff6ad1fb7cf556a02797d774247851499f8@redhat.com>
Acked-by: Jamie Strandboge <b4dde37aa2aac745c0e6c43447507eaeace3e59f@canonical.com>
Signed-off-by: Christian Ehrhardt <48da28e2c2cd455d60e19b14c46925e20a3c5d5b@canonical.com>

nertpinx/libvirt,olafhering/libvirt,jardasgit/libvirt,crobinso/libvirt,jfehlig/libvirt,zippy2/libvirt,jardasgit/libvirt,nertpinx/libvirt,olafhering/libvirt,jardasgit/libvirt,olafhering/libvirt,zippy2/libvirt,libvirt/libvirt,jfehlig/libvirt,jardasgit/libvirt,jfehlig/libvirt,jardasgit/libvirt,zippy2/libvirt,nertpinx/libvirt,crobinso/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,libvirt/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,zippy2/libvirt,olafhering/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,crobinso/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,libvirt/libvirt,crobinso/libvirt,libvirt/libvirt