From: FUJITA Tomonori Date: Mon, 31 Mar 2008 01:03:42 +0000 (+0900) Subject: [SCSI] bsg: no need to set BSG_F_BLOCK bit in bsg_complete_all_commands X-Git-Tag: v2.6.26-rc1~1140^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99773aab0377ee5bcaf37b7cd2577c3465422dab;p=linux-2.6 [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 Signed-off-by: James Bottomley --- diff --git a/block/bsg.c b/block/bsg.c index 9339981242..302ac1f5af 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 */