From: Johannes Berg Date: Mon, 25 Jan 2010 12:36:36 +0000 (+0100) Subject: mac80211: track work started through callbacks X-Git-Tag: v2.6.34-rc1~233^2~421^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=723bae7ee44fd79c1cd3c7531ed581d373920774;p=pandora-kernel.git mac80211: track work started through callbacks Currently, the remain_on_channel work callback needs to track in its own data structure whether the work was just started or not. By reordering some code this becomes unnecessary, the generic wk->started variable can still be 'false' on the first invocation and only be 'true' on actual timeout invocations, so that the extra variable can be removed. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed