On 11/09/18 11:15, Borislav Petkov wrote: > When CONFIG_PARAVIRT_SPINLOCKS=n, it fires > > arch/x86/kernel/paravirt_patch_64.c: In function ‘native_patch’: > arch/x86/kernel/paravirt_patch_64.c:89:1: warning: label ‘patch_site’ > defined but not used [-Wunused-label] > patch_site: > > but those labels can simply be removed by directly calling the > respective functions there. > > Get rid of local variables too, while at it. Also, simplify function > flow for better readability. > > Signed-off-by: Borislav Petkov <[email protected]> > Cc: Juergen Gross <[email protected]> > Cc: [email protected] > Cc: [email protected]
Reviewed-by: Juergen Gross <[email protected]> Juergen _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
