| Date | Sat, 15 May 2021 10:23:06 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH 5.10 258/530] security: keys: trusted: fix TPM2 authorizations |
| |
Hi!
Clean up unreachable code.
Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
diff --git a/security/keys/trusted-keys/trusted_tpm1.c b/security/keys/trusted-keys/trusted_tpm1.c index 230c0b27b77d..5bae4ed73c4d 100644 --- a/security/keys/trusted-keys/trusted_tpm1.c +++ b/security/keys/trusted-keys/trusted_tpm1.c @@ -813,11 +813,7 @@ static int getoptions(char *c, struct trusted_key_payload *pay, opt->blobauth_len); break; } - return -EINVAL; - - break; - case Opt_migratable: if (*args[0].from == '0') pay->migratable = 0;
-- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany [unhandled content-type:application/pgp-signature] |