[PATCH 25/34] brcmfmac: Remove repeated calls to brcmf_chip_get_core()

2017-07-26 Thread Ian Molton
There is no need to repeatdly call brcmf_chip_get_core(), which traverses a list of cores every time its called (including during register access code!). Call it once, and store a pointer to the core structure. The existing code does nto keep track of users of the cores anyway, and even so, this

[PATCH 25/34] brcmfmac: Remove repeated calls to brcmf_chip_get_core()

2017-07-19 Thread Ian Molton
There is no need to repeatdly call brcmf_chip_get_core(), which traverses a list of cores every time its called (including during register access code!). Call it once, and store a pointer to the core structure. The existing code does nto keep track of users of the cores anyway, and even so, this