Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180625
b: refs/heads/master
c: 4c743d0
h: refs/heads/master
i:
  180623: 011a41e
v: v3
  • Loading branch information
Anton Vorontsov authored and Greg Kroah-Hartman committed Feb 16, 2010
1 parent 80b7e78 commit f6390d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1a02d59aba9b61b820517fb135086471c065b573
refs/heads/master: 4c743d0ae60462e91465483dd87f4458d71af550
6 changes: 3 additions & 3 deletions trunk/drivers/usb/host/fhci-tds.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void fhci_ep0_free(struct fhci_usb *usb)
if (ep->td_base)
cpm_muram_free(cpm_muram_offset(ep->td_base));

if (ep->conf_frame_Q) {
if (kfifo_initialized(&ep->conf_frame_Q)) {
size = cq_howmany(&ep->conf_frame_Q);
for (; size; size--) {
struct packet *pkt = cq_get(&ep->conf_frame_Q);
Expand All @@ -115,7 +115,7 @@ void fhci_ep0_free(struct fhci_usb *usb)
cq_delete(&ep->conf_frame_Q);
}

if (ep->empty_frame_Q) {
if (kfifo_initialized(&ep->empty_frame_Q)) {
size = cq_howmany(&ep->empty_frame_Q);
for (; size; size--) {
struct packet *pkt = cq_get(&ep->empty_frame_Q);
Expand All @@ -125,7 +125,7 @@ void fhci_ep0_free(struct fhci_usb *usb)
cq_delete(&ep->empty_frame_Q);
}

if (ep->dummy_packets_Q) {
if (kfifo_initialized(&ep->dummy_packets_Q)) {
size = cq_howmany(&ep->dummy_packets_Q);
for (; size; size--) {
u8 *buff = cq_get(&ep->dummy_packets_Q);
Expand Down

0 comments on commit f6390d5

Please sign in to comment.