aboutsummaryrefslogtreecommitdiff
path: root/block/bsg.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-03-31 10:03:42 +0900
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-18 11:48:43 -0500
commit99773aab0377ee5bcaf37b7cd2577c3465422dab (patch)
tree17f6246e20ed3d33d66fe105b20322cccb6c19a9 /block/bsg.c
parent842ea771c38a3f0f78bdb1b4d47881e6a210fc15 (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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/bsg.c b/block/bsg.c
index 93399812421..302ac1f5af3 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -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
*/