mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
musb: eliminate write only variable sc
Sponsored by: Netflix
This commit is contained in:
parent
e73b02f66b
commit
ab59cd6a0b
1 changed files with 0 additions and 5 deletions
|
|
@ -2126,12 +2126,9 @@ musbotg_host_data_tx(struct musbotg_td *td)
|
|||
static uint8_t
|
||||
musbotg_xfer_do_fifo(struct usb_xfer *xfer)
|
||||
{
|
||||
struct musbotg_softc *sc;
|
||||
struct musbotg_td *td;
|
||||
|
||||
DPRINTFN(8, "\n");
|
||||
sc = MUSBOTG_BUS2SC(xfer->xroot->bus);
|
||||
|
||||
td = xfer->td_transfer_cache;
|
||||
while (1) {
|
||||
if ((td->func) (td)) {
|
||||
|
|
@ -4012,14 +4009,12 @@ done:
|
|||
static void
|
||||
musbotg_xfer_setup(struct usb_setup_params *parm)
|
||||
{
|
||||
struct musbotg_softc *sc;
|
||||
struct usb_xfer *xfer;
|
||||
void *last_obj;
|
||||
uint32_t ntd;
|
||||
uint32_t n;
|
||||
uint8_t ep_no;
|
||||
|
||||
sc = MUSBOTG_BUS2SC(parm->udev->bus);
|
||||
xfer = parm->curr_xfer;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue