]> 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)
commit17fffa4298b3474df7e94ee5de94ee03fef47f0a
tree252072ae63bd5ecb8186242ace12e7df3a1311ad
parentb7867ee7ba1ce1a00ff526840c98ecfbc8df8d5d
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