projects
/
GitHub
/
moto-9609
/
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:
1e907f4
)
fs/affs/inode.c: remove unused variable
author
Fabian Frederick
<fabf@skynet.be>
Mon, 13 Oct 2014 22:53:52 +0000
(15:53 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:22 +0000
(
02:18
+0200)
head is set to AFFS_HEAD(bh) but never used.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/affs/inode.c
b/fs/affs/inode.c
index bec2d1a0c91c3e8ac62eb40a706a3bb704fd404e..930aac3669d6eef9b0c232ec6dcc3fbfb90d810d 100644
(file)
--- a/
fs/affs/inode.c
+++ b/
fs/affs/inode.c
@@
-20,7
+20,6
@@
struct inode *affs_iget(struct super_block *sb, unsigned long ino)
{
struct affs_sb_info *sbi = AFFS_SB(sb);
struct buffer_head *bh;
- struct affs_head *head;
struct affs_tail *tail;
struct inode *inode;
u32 block;
@@
-49,7
+48,6
@@
struct inode *affs_iget(struct super_block *sb, unsigned long ino)
goto bad_inode;
}
- head = AFFS_HEAD(bh);
tail = AFFS_TAIL(sb, bh);
prot = be32_to_cpu(tail->protect);