Remove unsed typedefs and variables.
(cherry picked from commit 2e4941e58216cc2b225e83fe8bcca0bab2b65fca)

Signed-off-by: Christoph Grüninger <gruenich@dune-project.org>