diff --git a/fs/file_table.c b/fs/file_table.c
index b74a8e1da913c95033bc494e39c6c9f0ff87316d..54018fe488403082ac5274e24a3fee9480fa0a16 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -169,7 +169,6 @@ struct file *alloc_file(struct vfsmount *mnt, struct dentry *dentry,
 		fmode_t mode, const struct file_operations *fop)
 {
 	struct file *file;
-	struct path;
 
 	file = get_empty_filp();
 	if (!file)