dma: don't use __unused
commite09ff240f0c05a65aa97ca7fcf540be99855f3a2
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 3 Oct 2009 19:32:07 +0000 (3 21:32 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 3 Oct 2009 20:45:30 +0000 (3 22:45 +0200)
tree9d975ed7bf67360fabf9e98485ffc8a2ec9d54e6
parent4a6863a4469a537ceb64c09a9aafd989600d40bf
dma: don't use __unused

__unused avoids a gcc warning that the parameter is not being used, but
this does not exist in other systems or is overloaded with a different
meaning.

Instead simply use a cast to (void) to silence gcc.
libexec/dma/net.c