[PATCH] ufs: ubh_ll_rw_block cleanup
In ufs code there is function: ubh_ll_rw_block, it has parameter how many ufs_buffer_head it should handle, but it always called with "1" on the place of this parameter. This patch removes unused parameter of "ubh_ll_wr_block". Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
ee3ffd6c12
commit
098d5af7be
@@ -112,13 +112,12 @@ void ubh_mark_buffer_uptodate (struct ufs_buffer_head * ubh, int flag)
|
||||
}
|
||||
}
|
||||
|
||||
void ubh_ll_rw_block (int rw, unsigned nr, struct ufs_buffer_head * ubh[])
|
||||
void ubh_ll_rw_block(int rw, struct ufs_buffer_head *ubh)
|
||||
{
|
||||
unsigned i;
|
||||
if (!ubh)
|
||||
return;
|
||||
for ( i = 0; i < nr; i++ )
|
||||
ll_rw_block (rw, ubh[i]->count, ubh[i]->bh);
|
||||
|
||||
ll_rw_block(rw, ubh->count, ubh->bh);
|
||||
}
|
||||
|
||||
void ubh_wait_on_buffer (struct ufs_buffer_head * ubh)
|
||||
|
Reference in New Issue
Block a user