drm/amdgpu: Remove second moot switch to set EEPROM I2C address
[platform/kernel/linux-starfive.git] / kernel / audit_watch.c
index 91e82e3..7a98cd1 100644 (file)
@@ -531,7 +531,7 @@ int audit_exe_compare(struct task_struct *tsk, struct audit_fsnotify_mark *mark)
        if (tsk != current)
                return 0;
 
-       if (WARN_ON_ONCE(!current->mm))
+       if (!current->mm)
                return 0;
        exe_file = get_mm_exe_file(current->mm);
        if (!exe_file)