From e53cfda5d2c90a6dd763eb72034c775add729e40 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Apr 2013 16:59:00 -0400 Subject: tomoyo_close_control: don't bother with return value Signed-off-by: Al Viro --- security/tomoyo/securityfs_if.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'security/tomoyo/securityfs_if.c') 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) /** * tomoyo_release - close() for /sys/kernel/security/tomoyo/ interface. * - * @inode: Pointer to "struct inode". * @file: Pointer to "struct file". * - * Returns 0 on success, negative value otherwise. */ static int tomoyo_release(struct inode *inode, struct file *file) { - return tomoyo_close_control(file->private_data); + tomoyo_close_control(file->private_data); + return 0; } /** -- cgit v1.2.2