brcmfmac: rework scatter-gather code in brcmf_sdio_buffrw()
authorArend van Spriel <arend@broadcom.com>
Tue, 15 Oct 2013 13:44:50 +0000 (15:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:06:57 +0000 (14:06 -0400)
commit7f9a8dc8176fdfd5c036d7f9676a9e24815d675f
tree8d734517b74c28e4d7216ed7b56da2596addb107
parent71201496cf1c83c2f20b03d4cd8f3f5ea7c6e85a
brcmfmac: rework scatter-gather code in brcmf_sdio_buffrw()

Moving a number of assignments outside of the loop as they are
the same for each request.

Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c