Re: [PATCH v8 5/5] x86/tdx: Add Quote generation support

From: Wander Lairson Costa
Date: Tue Jun 14 2022 - 08:34:43 EST


On Wed, Jun 08, 2022 at 07:52:20PM -0700, Kuppuswamy Sathyanarayanan wrote:

[snip]

> +}
> +
> +/* Remove the shared mapping and free the memory */
> +static void deinit_quote_buf(struct quote_buf *buf)
> +{
> + if (!buf)
> + return;

nit: the null check isn't necessary anymore, is it?

[snip]