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

Wander Lairson Costa
2022-06-14T12:34:44Z

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]