From: Johannes Berg Date: Mon, 4 Oct 2010 12:50:36 +0000 (-0700) Subject: iwlwifi: clean up some beacon handling X-Git-Tag: v2.6.37-rc1~147^2~78^2^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77834543a5278b55df6c2784cd5ed59970be3c44;p=pandora-kernel.git iwlwifi: clean up some beacon handling There's no need to check for NULL before calling dev_kfree_skb() since it is valid to call it on NULL -- it becomes a no-op. There's also no need to initialise the beacon_skb variable to NULL just after the memory it is in has been kzalloc'ed. Some minor whitespace cleanups, and a lock assertion in a function that needs the mutex (to access the beacon_skb var) complete the patch. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed