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: v3.12-rc1~22015^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99773aab0377ee5bcaf37b7cd2577c3465422dab;p=kernel%2Fkernel-generic.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 9339981..302ac1f 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 */