From: Joern Engel Date: Wed, 26 Oct 2011 21:22:19 +0000 (-0700) Subject: target: Minor cleanups to core_tmr_drain_tmr_list X-Git-Tag: v3.2-rc1~24^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc1fd4f92d86168790a9eaf9834713a41da788e;p=pandora-kernel.git 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 Cc: Joern Engel Reviewed-by: Roland Dreier Cc: Roland Dreier Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed