aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-10-04 08:50:36 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-10-14 12:46:50 -0400
commit77834543a5278b55df6c2784cd5ed59970be3c44 (patch)
tree9b1be00ee2aed98564ca3ce7aa0179764dcf43e4 /net/lapb/lapb_out.c
parent12e934dc602fafba946b33587c38077ebceb3698 (diff)
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 <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions