There is no longer a need to check file->link_u.links at the start

of hard_link_check() (because the caller has already checked it).
This commit is contained in:
Wayne Davison committed 2005-07-31 23:19:42 +00:00
1 parent 273a7ed59f
commit 8cd3db27b6
1 file changed
-2
-2
View File
@@ -173,8 +173,6 @@ int hard_link_check(struct file_struct *file, int ndx, char *fname,
{
#ifdef SUPPORT_HARD_LINKS
int head;
if (!file->link_u.links)
return 0;
if (skip && !(file->flags & FLAG_HLINK_EOL))
head = hlink_list[file->F_HLINDEX] = file->F_NEXT;
else