[SCSI] bsg: use better helper list functions
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 31 Mar 2008 01:03:40 +0000 (10:03 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 18 Apr 2008 16:48:08 +0000 (11:48 -0500)
commit43ac9e62c4a0a47fe3de1f1eb9ca7b8c91dce234
tree9c7f042739e3d16c6704be508adff6a7fe1f9c52
parentc3ff1b90d8924dd1c55c3b56a79bfc563ace4a42
[SCSI] bsg: use better helper list functions

This replace hlist_for_each and list_entry with hlist_for_each_entry
and list_first_entry respectively.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
block/bsg.c