summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-10-31 00:02:44 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-31 02:37:23 +0100
commit20e1129ab831486c811d50d3905343ad48c4275f (patch)
treeab99b7172b903d2b4d3c58d45c11c41e4bba9c87 /drivers
parent[PATCH] Keys: Add LSM hooks for key management [try #3] (diff)
downloadlinux-20e1129ab831486c811d50d3905343ad48c4275f.tar.xz
linux-20e1129ab831486c811d50d3905343ad48c4275f.zip
[PATCH] Keys: Get rid of warning in kmod.c if keys disabled
The attached patch gets rid of a "statement without effect" warning when CONFIG_KEYS is disabled by making use of the return value of key_get(). The compiler will optimise all of this away when keys are disabled. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions