Skip to content
Snippets Groups Projects
Commit dd4fe5a3 authored by Anjan Chanda's avatar Anjan Chanda
Browse files

cmdu_ackq: remove unused mutex variable

parent eb30276c
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#define MAC_ADDR_HASH(a) (a[0] ^ a[1] ^ a[2] ^ a[3] ^ a[4] ^ a[5]) #define MAC_ADDR_HASH(a) (a[0] ^ a[1] ^ a[2] ^ a[3] ^ a[4] ^ a[5])
#endif #endif
// TODO: improve hash func
#define cmdu_ackq_hash(t, m, o) \ #define cmdu_ackq_hash(t, m, o) \
((MAC_ADDR_HASH(o) ^ (t) ^ (m)) & (CMDU_BACKLOG_MAX - 1)) ((MAC_ADDR_HASH(o) ^ (t) ^ (m)) & (CMDU_BACKLOG_MAX - 1))
...@@ -45,8 +44,6 @@ struct cmdu_ackq_entry { ...@@ -45,8 +44,6 @@ struct cmdu_ackq_entry {
/* queue of cmdus for which response is pending */ /* queue of cmdus for which response is pending */
struct cmdu_ackq { struct cmdu_ackq {
pthread_mutex_t qlock;
/* hashtable of pending cmdu_ackq_entry */ /* hashtable of pending cmdu_ackq_entry */
struct hlist_head table[CMDU_BACKLOG_MAX]; struct hlist_head table[CMDU_BACKLOG_MAX];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment