Coccinelle release 0.2.5-rc3
[bpt/coccinelle.git] / tests / spl.res
CommitLineData
34e49164
C
1int main() {
2 spin_lock(&isp116x->lock);
3 /* take idle endpoints out of the schedule */
4 if (!list_empty(&ep->hep->urb_list)) {
5 spin_unlock(&isp116x->lock);
6 return;
7 }
8
9 /* async deschedule */
10 if (!list_empty(&ep->schedule)) {
11 spin_unlock(&isp116x->lock);
12 return;
13 }
14}