Re: [PATCH 4/8] x86/platform/uv: Setup UV functions for Hubless UV Systems

From: Ingo Molnar
Date: Wed Sep 11 2019 - 02:07:26 EST



* Mike Travis <mike.travis@xxxxxxx> wrote:

> +/* Initialize UV hubless systems */
> +static __init int uv_system_init_hubless(void)
> +{
> + int rc;
> +
> + /* Setup PCH NMI handler */
> + uv_nmi_setup_hubless();
> +
> + /* Init kernel/BIOS interface */
> + rc = uv_bios_init();
> +
> + return rc;
> +}

Am I the only one who immediately sees the trivial C transformation
through which this function could lose a local variable and become 4
lines shorter?

And this function got two Reviewed-by tags...

Thanks,

Ingo