target: simplify core_tmr_abort_task
commitf81ccb489a7a641c1bed41b49cf8d72c199c68d5
authorJoern Engel <joern@logfs.org>
Tue, 16 Sep 2014 20:23:13 +0000 (16 16:23 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 1 Oct 2014 21:39:10 +0000 (1 14:39 -0700)
tree8ab987efb52a2495bafdcc399f465ae15c47ae7a
parent33940d09937276cd3c81f2874faf43e37c2db0e2
target: simplify core_tmr_abort_task

list_for_each_entry_safe is necessary if list objects are deleted from
the list while traversing it.  Not the case here, so we can use the base
list_for_each_entry variant.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_tmr.c