Re: [PATCH]X86:microcode: fix vfree()

From: Ingo Molnar
Date: Sun Jun 07 2009 - 10:01:38 EST



* Figo.zhang <figo1802@xxxxxxxxx> wrote:

>
> vfree() does it's own 'NULL' check,so no need for check before
> calling it.

looks good, but:

s/it's/its/
s/check,so/check, so/

and:

> static void free_equiv_cpu_table(void)
> {
> - if (equiv_cpu_table) {
> - vfree(equiv_cpu_table);
> - equiv_cpu_table = NULL;
> - }
> + vfree(equiv_cpu_table);
> + equiv_cpu_table = NULL;
> +
> }

stray newline and tab.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/