From: Namhyung Kim Date: Tue, 26 Oct 2010 21:22:31 +0000 (-0700) Subject: fs/buffer.c: remove duplicated assignment to b_private X-Git-Tag: v2.6.37-rc1~105^2~78 X-Git-Url: https://bbs.cooldavid.org/git/?p=net-next-2.6.git;a=commitdiff_plain;h=1df79da85657aecde2ecff052ff0cf9910311078 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 Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/buffer.c b/fs/buffer.c index ec21a92e08b..8d595ab2aed 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 */