Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99773aab authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by James Bottomley
Browse files

[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: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 842ea771
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -467,8 +467,6 @@ static int bsg_complete_all_commands(struct bsg_device *bd)


	dprintk("%s: entered\n", bd->name);
	dprintk("%s: entered\n", bd->name);


	set_bit(BSG_F_BLOCK, &bd->flags);

	/*
	/*
	 * wait for all commands to complete
	 * wait for all commands to complete
	 */
	 */