summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-03-31 03:03:42 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-18 18:48:43 +0200
commit99773aab0377ee5bcaf37b7cd2577c3465422dab (patch)
tree17f6246e20ed3d33d66fe105b20322cccb6c19a9 /block
parent[SCSI] bsg: remove minor in struct bsg_device (diff)
downloadlinux-99773aab0377ee5bcaf37b7cd2577c3465422dab.tar.xz
linux-99773aab0377ee5bcaf37b7cd2577c3465422dab.zip
[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')
-rw-r--r--block/bsg.c2
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)
dprintk("%s: entered\n", bd->name);
- set_bit(BSG_F_BLOCK, &bd->flags);
-
/*
* wait for all commands to complete
*/