diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 1c91eed26451610ed85e695bec15020047ed93a8..e37ea3e53de860a443e41088b1cd70a0cf69d702 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c @@ -673,7 +673,7 @@ void free_proc_entry(struct proc_dir_entry *de) release_inode_number(ino); - if (S_ISLNK(de->mode) && de->data) + if (S_ISLNK(de->mode)) kfree(de->data); kfree(de); }