]> Pileus Git - ~andy/linux/blobdiff - security/tomoyo/common.c
Merge remote-tracking branch 'spi/fix/grant' into spi-linus
[~andy/linux] / security / tomoyo / common.c
index f89a0333b8134b25d71e53bed63acfe3643043dd..283862aebdc8376fa071422d03aa39dc39087b21 100644 (file)
@@ -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;
 }
 
 /**