mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
xdma pl330: Remove unused variables.
This commit is contained in:
parent
0a4089c734
commit
e6fd5ca545
1 changed files with 0 additions and 17 deletions
|
|
@ -366,10 +366,6 @@ pl330_attach(device_t dev)
|
|||
static int
|
||||
pl330_detach(device_t dev)
|
||||
{
|
||||
struct pl330_softc *sc;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
@ -408,9 +404,6 @@ static int
|
|||
pl330_channel_free(device_t dev, struct xdma_channel *xchan)
|
||||
{
|
||||
struct pl330_channel *chan;
|
||||
struct pl330_softc *sc;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
chan = (struct pl330_channel *)xchan->chan;
|
||||
chan->used = 0;
|
||||
|
|
@ -576,9 +569,6 @@ static int
|
|||
pl330_channel_prep_sg(device_t dev, struct xdma_channel *xchan)
|
||||
{
|
||||
struct pl330_channel *chan;
|
||||
struct pl330_softc *sc;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
dprintf("%s(%d)\n", __func__, device_get_unit(dev));
|
||||
|
||||
|
|
@ -591,13 +581,6 @@ pl330_channel_prep_sg(device_t dev, struct xdma_channel *xchan)
|
|||
static int
|
||||
pl330_channel_control(device_t dev, xdma_channel_t *xchan, int cmd)
|
||||
{
|
||||
struct pl330_channel *chan;
|
||||
struct pl330_softc *sc;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
chan = (struct pl330_channel *)xchan->chan;
|
||||
|
||||
switch (cmd) {
|
||||
case XDMA_CMD_BEGIN:
|
||||
case XDMA_CMD_TERMINATE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue