diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-03-30 21:03:42 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-18 12:48:43 -0400 |
commit | 99773aab0377ee5bcaf37b7cd2577c3465422dab (patch) | |
tree | 17f6246e20ed3d33d66fe105b20322cccb6c19a9 /block/bsg.c | |
parent | 842ea771c38a3f0f78bdb1b4d47881e6a210fc15 (diff) |
[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>
Diffstat (limited to 'block/bsg.c')
-rw-r--r-- | block/bsg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/bsg.c b/block/bsg.c index 933998124211..302ac1f5af39 100644 --- a/block/bsg.c +++ b/block/bsg.c | |||
@@ -467,8 +467,6 @@ static int bsg_complete_all_commands(struct bsg_device *bd) | |||
467 | 467 | ||
468 | dprintk("%s: entered\n", bd->name); | 468 | dprintk("%s: entered\n", bd->name); |
469 | 469 | ||
470 | set_bit(BSG_F_BLOCK, &bd->flags); | ||
471 | |||
472 | /* | 470 | /* |
473 | * wait for all commands to complete | 471 | * wait for all commands to complete |
474 | */ | 472 | */ |