]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: scan: simplify dereference of bss_desc fields
authorAndreas Fenkart <afenkart@gmail.com>
Thu, 10 Mar 2016 08:44:05 +0000 (09:44 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:34:41 +0000 (21:34 +0300)
commit0a233c98a8e933a65aec07663d3a2953c7642bbc
treeed6e91943e7642314f10f70c0903aa5ca320f50d
parent84349698f05dc7ed6df6772d43175eb3703ed8dc
mwifiex: scan: simplify dereference of bss_desc fields

given this structure:
struct foo {
  struct bar {
     int baz;
  }
}

these accesses are equivalent:
(*(foo->bar)).baz
foo->bar->baz

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/scan.c