Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ieee1905
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
ieee1905
Commits
dd4fe5a3
Commit
dd4fe5a3
authored
3 years ago
by
Anjan Chanda
Browse files
Options
Downloads
Patches
Plain Diff
cmdu_ackq: remove unused mutex variable
parent
eb30276c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cmdu_ackq.h
+0
-3
0 additions, 3 deletions
src/cmdu_ackq.h
with
0 additions
and
3 deletions
src/cmdu_ackq.h
+
0
−
3
View file @
dd4fe5a3
...
@@ -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
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment