KEYS: remove a bogus NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Dec 2014 19:59:38 +0000 (19:59 +0000)
committerJames Morris <james.l.morris@oracle.com>
Tue, 16 Dec 2014 07:05:20 +0000 (18:05 +1100)
commit5057975ae38452679b964f1382c5efcb9faee74e
tree7fcc2d43a583e598ccdd94db4171407dbbab19b6
parentd0bffab0439fb7edaee09677b636eef5991e8b80
KEYS: remove a bogus NULL check

We already checked if "desc" was NULL at the beginning of the function
and we've dereferenced it so this causes a static checker warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/keys/key.c