File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,6 @@ struct mtu3_ep {
294
294
295
295
int flags ;
296
296
u8 wedged ;
297
- u8 busy ;
298
297
};
299
298
300
299
struct mtu3_request {
Original file line number Diff line number Diff line change @@ -17,16 +17,13 @@ __acquires(mep->mtu->lock)
17
17
{
18
18
struct mtu3_request * mreq ;
19
19
struct mtu3 * mtu ;
20
- int busy = mep -> busy ;
21
20
22
21
mreq = to_mtu3_request (req );
23
22
list_del (& mreq -> list );
24
23
if (mreq -> request .status == - EINPROGRESS )
25
24
mreq -> request .status = status ;
26
25
27
26
mtu = mreq -> mtu ;
28
- mep -> busy = 1 ;
29
-
30
27
trace_mtu3_req_complete (mreq );
31
28
spin_unlock (& mtu -> lock );
32
29
@@ -40,14 +37,12 @@ __acquires(mep->mtu->lock)
40
37
usb_gadget_giveback_request (& mep -> ep , & mreq -> request );
41
38
42
39
spin_lock (& mtu -> lock );
43
- mep -> busy = busy ;
44
40
}
45
41
46
42
static void nuke (struct mtu3_ep * mep , const int status )
47
43
{
48
44
struct mtu3_request * mreq = NULL ;
49
45
50
- mep -> busy = 1 ;
51
46
if (list_empty (& mep -> req_list ))
52
47
return ;
53
48
@@ -195,7 +190,6 @@ static int mtu3_gadget_ep_enable(struct usb_ep *ep,
195
190
if (ret )
196
191
goto error ;
197
192
198
- mep -> busy = 0 ;
199
193
mep -> wedged = 0 ;
200
194
mep -> flags |= MTU3_EP_ENABLED ;
201
195
mtu -> active_ep ++ ;
You can’t perform that action at this time.
0 commit comments