projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e3cb64
)
trivial: remove unused variable 'path' in alloc_file()
author
Tero Roponen
<tero.roponen@gmail.com>
Sun, 8 Mar 2009 13:29:31 +0000
(15:29 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 30 Mar 2009 13:22:03 +0000
(15:22 +0200)
'struct path' is not used in alloc_file().
Signed-off-by: Tero Roponen <tero.roponen@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
fs/file_table.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/file_table.c
b/fs/file_table.c
index b74a8e1da913c95033bc494e39c6c9f0ff87316d..54018fe488403082ac5274e24a3fee9480fa0a16 100644
(file)
--- 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)