Re: [PATCH v3 06/16] tpm: clean up tpm_try_transmit() error handling flow

From: Jarkko Sakkinen
Date: Tue Nov 06 2018 - 01:01:44 EST


On Mon, Nov 05, 2018 at 05:20:33PM -0500, Stefan Berger wrote:
> > +out_locality:
> > + if (has_locality)
> > + tpm_relinquish_locality(chip, flags);
>
> Safer to also put has_locality = false here ?

Not really sure why?

/Jarkko