diff options
Diffstat (limited to 'security/tomoyo/securityfs_if.c')
-rw-r--r-- | security/tomoyo/securityfs_if.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/security/tomoyo/securityfs_if.c b/security/tomoyo/securityfs_if.c index fcf32783b66b..179a955b319d 100644 --- a/security/tomoyo/securityfs_if.c +++ b/security/tomoyo/securityfs_if.c | |||
@@ -143,14 +143,13 @@ static int tomoyo_open(struct inode *inode, struct file *file) | |||
143 | /** | 143 | /** |
144 | * tomoyo_release - close() for /sys/kernel/security/tomoyo/ interface. | 144 | * tomoyo_release - close() for /sys/kernel/security/tomoyo/ interface. |
145 | * | 145 | * |
146 | * @inode: Pointer to "struct inode". | ||
147 | * @file: Pointer to "struct file". | 146 | * @file: Pointer to "struct file". |
148 | * | 147 | * |
149 | * Returns 0 on success, negative value otherwise. | ||
150 | */ | 148 | */ |
151 | static int tomoyo_release(struct inode *inode, struct file *file) | 149 | static int tomoyo_release(struct inode *inode, struct file *file) |
152 | { | 150 | { |
153 | return tomoyo_close_control(file->private_data); | 151 | tomoyo_close_control(file->private_data); |
152 | return 0; | ||
154 | } | 153 | } |
155 | 154 | ||
156 | /** | 155 | /** |