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: firefly_0821_release~21617^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=99773aab0377ee5bcaf37b7cd2577c3465422dab;p=firefly-linux-kernel-4.4.55.git [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 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 */