keys: Fix unreachable code
authorAlan Cox <alan@linux.intel.com>
Fri, 28 Sep 2012 11:20:02 +0000 (12:20 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 28 Sep 2012 11:20:02 +0000 (12:20 +0100)
commit631527703d1aa2f0c5dc2af0d998f4da95c83f0e
treea2aec36285e598c3f1c34aef166b242859bddb63
parentbf5308344527d015ac9a6d2bda4ad4d40fd7d943
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>
security/keys/process_keys.c