summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/aquantia/atlantic/aq_utils.h
diff options
context:
space:
mode:
authorPavel Belous <pavel.belous@aquantia.com>2017-02-20 22:36:40 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-20 17:11:09 -0500
commit15e32a5e1e016f40712c3c843c84078385c49db2 (patch)
treec85ff862bb949e688d24ffca79a8b2a05d359e1c /drivers/net/ethernet/aquantia/atlantic/aq_utils.h
parent99e5582730eb18c5ab4402ba1edc73ec3fd5ba2b (diff)
net: ethernet: aquantia: Removed busy_count field.
busy_count field and is_busy flag is not needed at all. Signed-off-by: Pavel Belous <pavel.belous@aquantia.com> Reviewed-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_utils.h')
-rw-r--r--drivers/net/ethernet/aquantia/atlantic/aq_utils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_utils.h b/drivers/net/ethernet/aquantia/atlantic/aq_utils.h
index 4446bd90fd86..f6012b34abe6 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_utils.h
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_utils.h
@@ -19,7 +19,6 @@
struct aq_obj_s {
spinlock_t lock; /* spinlock for nic/rings processing */
atomic_t flags;
- atomic_t busy_count;
};
static inline void aq_utils_obj_set(atomic_t *flags, u32 mask)