]> git.baikalelectronics.ru Git - kernel.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)
commit26c4a2feb393f818d2bd085ddf857d7ea404531d
tree252072ae63bd5ecb8186242ace12e7df3a1311ad
parent3be540478b171ab5af7bbd576454acd3c6b534c5
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