keys: Fix unreachable code
authorAlan Cox <alan@linux.intel.com>
Thu, 25 Oct 2012 14:23:35 +0000 (15:23 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 25 Oct 2012 16:00:27 +0000 (18:00 +0200)
commitb010520ab3d2c05eb444ed5e01fe6c33842f597a
treecf958deb54615a8ff5432bdbf3b70da2a76b9508
parent6f7c962c0b8efc78aec4c5514865fb5be83f4d92
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: Jiri Kosina <jkosina@suse.cz>
security/keys/process_keys.c