]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - ipc/shm.c
checkpatch: widen implied comment detection to allow multiple stars
[karo-tx-linux.git] / ipc / shm.c
index 38a055758a9b212638775f19e60452350f62d482..57dd50046cefc0a4202ae7981c3eece60ee59c16 100644 (file)
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -747,9 +747,7 @@ asmlinkage long sys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf)
                        goto out;
                }
 
-               err = audit_ipc_obj(&(shp->shm_perm));
-               if (err)
-                       goto out_unlock;
+               audit_ipc_obj(&(shp->shm_perm));
 
                if (!capable(CAP_IPC_LOCK)) {
                        uid_t euid = current_euid();