diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-14 22:59:00 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 21:41:42 +0200 |
commit | e53cfda5d2c90a6dd763eb72034c775add729e40 (patch) | |
tree | de6255d83be193bc5cea0bbf8a851139a0384d50 /security/tomoyo/common.c | |
parent | dmasound_core: saner arguments for sq_fsync() (diff) | |
download | linux-e53cfda5d2c90a6dd763eb72034c775add729e40.tar.xz linux-e53cfda5d2c90a6dd763eb72034c775add729e40.zip |
tomoyo_close_control: don't bother with return value
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo/common.c')
-rw-r--r-- | security/tomoyo/common.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c index f89a0333b813..283862aebdc8 100644 --- a/security/tomoyo/common.c +++ b/security/tomoyo/common.c @@ -2681,10 +2681,8 @@ out: * tomoyo_close_control - close() for /sys/kernel/security/tomoyo/ interface. * * @head: Pointer to "struct tomoyo_io_buffer". - * - * Returns 0. */ -int tomoyo_close_control(struct tomoyo_io_buffer *head) +void tomoyo_close_control(struct tomoyo_io_buffer *head) { /* * If the file is /sys/kernel/security/tomoyo/query , decrement the @@ -2694,7 +2692,6 @@ int tomoyo_close_control(struct tomoyo_io_buffer *head) atomic_dec_and_test(&tomoyo_query_observers)) wake_up_all(&tomoyo_answer_wait); tomoyo_notify_gc(head, false); - return 0; } /** |