mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[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:
parent
842ea771c3
commit
99773aab03
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue