Skip to content

Commit

Permalink
[SCSI] bsg: no need to set BSG_F_BLOCK bit in bsg_complete_all_commands
Browse files Browse the repository at this point in the history
Before bsg_complete_all_commands is called, BSG_F_BLOCK bit is always
set.

Signed-off-by: FUJITA Tomonori <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
fujita authored and James Bottomley committed Apr 18, 2008
1 parent 842ea77 commit 99773aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions block/bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 99773aa

Please sign in to comment.