Message ID | alpine.DEB.2.21.2007271241000.3288@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | proc,fcntl: fix ifnullfree.cocci warnings | expand |
--- a/fs/file_table.c +++ b/fs/file_table.c @@ -272,8 +272,7 @@ static void __fput(struct file *file) eventpoll_release(file); locks_remove_file(file); - if (file->f_description) - kfree(file->f_description); + kfree(file->f_description); ima_file_free(file); if (unlikely(file->f_flags & FASYNC)) {