devif: destroy no longer queue specific
authorRoni Häcki <roni.haecki@inf.ethz.ch>
Mon, 28 Aug 2017 13:11:07 +0000 (15:11 +0200)
committerRoni Häcki <roni.haecki@inf.ethz.ch>
Mon, 28 Aug 2017 13:11:07 +0000 (15:11 +0200)
commite9915a7c347090737fe3c7c1e8f29f2e3b90b9d4
tree4cb661e1399be2057f93e1d4d70462b2a8798428
parent6b8af7dac0e6dda383eee9536bf286d776db66e2
devif: destroy no longer queue specific

To avoid having to know what the queue represents after
having used it, the destroy functionality has to go into
the queue interface. Otherwise, we still have to know
what the queue represents at creation and destruction
time, which does not make sense for destruction since
in between most likely we do not know what exact queue
this is.

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>
include/devif/queue_interface.h
lib/devif/queue_interface.c
lib/devif/queue_interface_internal.c
lib/devif/queue_interface_internal.h