diff options
| author | Joern Engel <[email protected]> | 2011-10-26 21:22:19 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2011-10-27 01:00:29 +0000 |
| commit | abc1fd4f92d86168790a9eaf9834713a41da788e (patch) | |
| tree | d511435edbec33a4ffe283cd1e6de8fef06653a8 /lib/mpi/mpi-cmp.c | |
| parent | target: Fix wrong se_tmr being added to drain_tmr_list (diff) | |
| download | kernel-abc1fd4f92d86168790a9eaf9834713a41da788e.tar.gz kernel-abc1fd4f92d86168790a9eaf9834713a41da788e.zip | |
target: Minor cleanups to core_tmr_drain_tmr_list
This patch adds a handful minor cleanups to core_tmr_drain_tmr_list() that
remove an unnecessary NULL check, use list_for_each_entry_safe() instead of
list_entry(), and makes the drain_tmr_list walk use *tmr_p instead of
directly referencing the passed *tmr function parameter.
Signed-off-by: Joern Engel <[email protected]>
Cc: Joern Engel <[email protected]>
Reviewed-by: Roland Dreier <[email protected]>
Cc: Roland Dreier <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
