Skip to contentSkip to conversation

2.5.50: unused code in link_path_walk()

PATCH New Olaf Dietsche 1 participant 1 message Dec 4, 2002 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.50: unused code in link_path_walk()

This patch removes one unnecessary line of code.

Regards, Olaf.

fs/namei.c +0 -1
diff -urN a/fs/namei.c b/fs/namei.c
@@ -700,7 +700,6 @@
 				if (this.name[1] != '.')
 					break;
 				follow_dotdot(&nd->mnt, &nd->dentry);
-				inode = nd->dentry->d_inode;
 				/* fallthrough */
 			case 1:
 				goto return_base;