diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-26 21:22:31 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 23:52:13 (GMT) |
commit | 1df79da85657aecde2ecff052ff0cf9910311078 (patch) | |
tree | d8a7032f425ecc2582cc0fed2e1d40a57255e189 /fs | |
parent | d88262623fb58853ed60fb110141c435de26e3de (diff) | |
download | linux-1df79da85657aecde2ecff052ff0cf9910311078.tar.xz |
fs/buffer.c: remove duplicated assignment to b_private
bh->b_private is initialized within init_buffer(), thus this assignment is
redundant.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index ec21a92..8d595ab 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -905,7 +905,6 @@ try_again: bh->b_state = 0; atomic_set(&bh->b_count, 0); - bh->b_private = NULL; bh->b_size = size; /* Link the buffer to its page */ |