]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
keys: fix unreachable code
authorAlan Cox <alan@linux.intel.com>
Thu, 20 Dec 2012 23:05:54 +0000 (15:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Dec 2012 01:40:21 +0000 (17:40 -0800)
commite67eab39bee26f509d38d00ca1a8f24b63f46a31
tree252072ae63bd5ecb8186242ace12e7df3a1311ad
parenta68c2f12b4b28994aaf622bbe5724b7258cc2fcf
keys: fix unreachable code

We set ret to NULL then test it. Remove the bogus test

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/keys/process_keys.c