staging: brcm80211: remove volatile keyword used in struct rte_console
authorArend van Spriel <arend@broadcom.com>
Mon, 8 Aug 2011 13:58:18 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:00:01 +0000 (13:00 -0700)
commit85567f52f2ba6159b98b066c792e5eb7cdc9bf0c
treeb438469a234dc95c222dbf5d35b874d0e7dbeb3f
parent277195acd20a929b08db72fe73d62cf8da49d63c
staging: brcm80211: remove volatile keyword used in struct rte_console

Two members vcons_in and vcons_out were declared using the volatile
keyword. However, there is no reason for doing so. The member is
used only to calculate the backplane address to access using offsetof.
This address is passed to subsequent read function. Use of volatile
is not warranted.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c