Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235643
b: refs/heads/master
c: 3777938
h: refs/heads/master
i:
  235641: 02dfefe
  235639: 54a0f35
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jan 21, 2011
1 parent 8398e82 commit 173be7a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20de47a5c2d6516a4eebf874cc35ee5432955f8d
refs/heads/master: 377793824d1cc6119d0b84f00d8bae818847e44b
26 changes: 0 additions & 26 deletions trunk/drivers/staging/brcm80211/brcmsmac/wlc_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,32 +176,6 @@ wlc_event_t *wlc_eventq_deq(wlc_eventq_t *eq)
return e;
}

wlc_event_t *wlc_eventq_next(wlc_eventq_t *eq, wlc_event_t *e)
{
#ifdef BCMDBG
wlc_event_t *etmp;

for (etmp = eq->head; etmp; etmp = etmp->next) {
if (etmp == e)
break;
}
ASSERT(etmp != NULL);
#endif

return e->next;
}

int wlc_eventq_cnt(wlc_eventq_t *eq)
{
wlc_event_t *etmp;
int cnt = 0;

for (etmp = eq->head; etmp; etmp = etmp->next)
cnt++;

return cnt;
}

bool wlc_eventq_avail(wlc_eventq_t *eq)
{
return (eq->head != NULL);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/wlc_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ extern wlc_eventq_t *wlc_eventq_attach(struct wlc_pub *pub,
extern int wlc_eventq_detach(wlc_eventq_t *eq);
extern int wlc_eventq_down(wlc_eventq_t *eq);
extern void wlc_event_free(wlc_eventq_t *eq, wlc_event_t *e);
extern wlc_event_t *wlc_eventq_next(wlc_eventq_t *eq, wlc_event_t *e);
extern int wlc_eventq_cnt(wlc_eventq_t *eq);
extern bool wlc_eventq_avail(wlc_eventq_t *eq);
extern wlc_event_t *wlc_eventq_deq(wlc_eventq_t *eq);
extern void wlc_eventq_enq(wlc_eventq_t *eq, wlc_event_t *e);
Expand Down

0 comments on commit 173be7a

Please sign in to comment.