Skip to content

Commit

Permalink
fs/buffer.c: remove duplicated assignment on b_private
Browse files Browse the repository at this point in the history
bh->b_private is initialized within init_buffer(), thus the
assignment should be redundant. Remove it.

Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
namhyung authored and Al Viro committed Oct 26, 2010
1 parent bb1e5f8 commit 8358e7d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,6 @@ struct buffer_head *alloc_page_buffers(struct page *page, unsigned long size,

bh->b_state = 0;
atomic_set(&bh->b_count, 0);
bh->b_private = NULL;
bh->b_size = size;

/* Link the buffer to its page */
Expand Down

0 comments on commit 8358e7d

Please sign in to comment.