]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/capability.c
Staging: poch: Fine grained locking
[linux-2.6-omap-h63xx.git] / kernel / capability.c
index 36b4b4daebec0a465fb8490c9531ed71d694ae59..c598d9d5be4fd6d325286ddab316ff8ae0e22651 100644 (file)
@@ -280,9 +280,7 @@ asmlinkage long sys_capset(cap_user_header_t header, const cap_user_data_t data)
        if (ret < 0)
                goto error;
 
-       ret = audit_log_capset(pid, new, current_cred());
-       if (ret < 0)
-               return ret;
+       audit_log_capset(pid, new, current_cred());
 
        return commit_creds(new);