]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5d2a83ec96fac51455f6c4f01618a317e4c4b97
tree7fcc2d43a583e598ccdd94db4171407dbbab19b6
parentce1ce26fc21abc16752a374053f50785a9d04db0
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