Skip to content

Commit

Permalink
Staging: bcm: Removes the volatile type definition from Adapter.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed May 19, 2012
1 parent d426205 commit 26cd230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/bcm/Adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ typedef struct _PER_TARANG_DATA {
struct _MINI_ADAPTER *Adapter;
struct sk_buff *RxAppControlHead;
struct sk_buff *RxAppControlTail;
volatile int AppCtrlQueueLen;
int AppCtrlQueueLen;
BOOLEAN MacTracingEnabled;
BOOLEAN bApplicationToExit;
S_MIBS_DROPPED_APP_CNTRL_MESSAGES stDroppedAppCntrlMsgs;
Expand Down Expand Up @@ -351,7 +351,7 @@ struct _MINI_ADAPTER {
u32 msg_enable;
CHAR *caDsxReqResp;
atomic_t ApplicationRunning;
volatile int CtrlQueueLen;
int CtrlQueueLen;
atomic_t AppCtrlQueueLen;
BOOLEAN AppCtrlQueueOverFlow;
atomic_t CurrentApplicationCount;
Expand Down

0 comments on commit 26cd230

Please sign in to comment.