[SCSI] bsg: no need to set BSG_F_BLOCK bit in bsg_complete_all_commands
Before bsg_complete_all_commands is called, BSG_F_BLOCK bit is always set. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
Родитель
842ea771c3
Коммит
99773aab03
|
@ -467,8 +467,6 @@ static int bsg_complete_all_commands(struct bsg_device *bd)
|
|||
|
||||
dprintk("%s: entered\n", bd->name);
|
||||
|
||||
set_bit(BSG_F_BLOCK, &bd->flags);
|
||||
|
||||
/*
|
||||
* wait for all commands to complete
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче