diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2016-03-08 02:39:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-10 16:15:54 -0500 |
commit | 5bf93251cee1fb66141d1d2eaff86e04a9397bdf (patch) | |
tree | cbbac17e394974c1dcc3846be4c4f4f19f291302 /drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | |
parent | b795a213a40f55f52468940f49a11dabb772291d (diff) | |
download | lwn-5bf93251cee1fb66141d1d2eaff86e04a9397bdf.tar.gz lwn-5bf93251cee1fb66141d1d2eaff86e04a9397bdf.zip |
qlcnic: Remove unnecessary usage of atomic_t
o atomic_t usage is incorrect as we are not implementing
any atomicity.
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index 46bbea8e023c..d18667b1b5b7 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h @@ -1099,7 +1099,7 @@ struct qlcnic_mailbox { unsigned long status; spinlock_t queue_lock; /* Mailbox queue lock */ spinlock_t aen_lock; /* Mailbox response/AEN lock */ - atomic_t rsp_status; + u32 rsp_status; u32 num_cmds; }; |