diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-05-18 08:50:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-18 20:41:16 -0400 |
commit | 26cd230f0e7e1ddd1681752430d4d4c7b37d9b01 (patch) | |
tree | 56e5e06e48bcd8fc6422bacfd6f2ee054003e2ed /drivers/staging | |
parent | d426205d588e0fd7924c0fd76c012f6f8667cccc (diff) |
Staging: bcm: Removes the volatile type definition from Adapter.h
This patch removes the following warning: "Use of
volatile is usually wrong: see
Documentation/volatile-considered-harmful.txt".
There were two variables defined in this manner.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/bcm/Adapter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index acf7add55cec..95652cbec2bd 100644 --- a/drivers/staging/bcm/Adapter.h +++ b/drivers/staging/bcm/Adapter.h | |||
@@ -244,7 +244,7 @@ typedef struct _PER_TARANG_DATA { | |||
244 | struct _MINI_ADAPTER *Adapter; | 244 | struct _MINI_ADAPTER *Adapter; |
245 | struct sk_buff *RxAppControlHead; | 245 | struct sk_buff *RxAppControlHead; |
246 | struct sk_buff *RxAppControlTail; | 246 | struct sk_buff *RxAppControlTail; |
247 | volatile int AppCtrlQueueLen; | 247 | int AppCtrlQueueLen; |
248 | BOOLEAN MacTracingEnabled; | 248 | BOOLEAN MacTracingEnabled; |
249 | BOOLEAN bApplicationToExit; | 249 | BOOLEAN bApplicationToExit; |
250 | S_MIBS_DROPPED_APP_CNTRL_MESSAGES stDroppedAppCntrlMsgs; | 250 | S_MIBS_DROPPED_APP_CNTRL_MESSAGES stDroppedAppCntrlMsgs; |
@@ -351,7 +351,7 @@ struct _MINI_ADAPTER { | |||
351 | u32 msg_enable; | 351 | u32 msg_enable; |
352 | CHAR *caDsxReqResp; | 352 | CHAR *caDsxReqResp; |
353 | atomic_t ApplicationRunning; | 353 | atomic_t ApplicationRunning; |
354 | volatile int CtrlQueueLen; | 354 | int CtrlQueueLen; |
355 | atomic_t AppCtrlQueueLen; | 355 | atomic_t AppCtrlQueueLen; |
356 | BOOLEAN AppCtrlQueueOverFlow; | 356 | BOOLEAN AppCtrlQueueOverFlow; |
357 | atomic_t CurrentApplicationCount; | 357 | atomic_t CurrentApplicationCount; |