OSDN Git Service

KEYS: remove CONFIG_KEYS_COMPAT
authorEric Biggers <ebiggers@google.com>
Wed, 9 Oct 2019 23:04:43 +0000 (16:04 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 12 Dec 2019 21:41:17 +0000 (23:41 +0200)
commit601f0093f2647db67be40b62e13cd0660990a7c8
treedbb20f2a4524bc96ce1ccaa074819cadd092a1fe
parent37d4e84f765bb3038ddfeebdc5d1cfd7e1ef688f
KEYS: remove CONFIG_KEYS_COMPAT

KEYS_COMPAT now always takes the value of COMPAT && KEYS.  But the
security/keys/ directory is only compiled if KEYS is enabled, so in
practice KEYS_COMPAT is the same as COMPAT.  Therefore, remove the
unnecessary KEYS_COMPAT and just use COMPAT directly.

(Also remove an outdated comment from compat.c.)

Reviewed-by: James Morris <jamorris@linux.microsoft.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
security/keys/Kconfig
security/keys/Makefile
security/keys/compat.c
security/keys/internal.h