From 471bb043390d0995c847d01f1af89763bbee668f Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 26 May 2019 21:47:57 +0000 Subject: framework: code against the newly added __xfi_xxx interfaces. --- src/driver/ntux_driver_ctx.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/driver') diff --git a/src/driver/ntux_driver_ctx.c b/src/driver/ntux_driver_ctx.c index 370c69b..8445b3e 100644 --- a/src/driver/ntux_driver_ctx.c +++ b/src/driver/ntux_driver_ctx.c @@ -4,13 +4,14 @@ /* Released under GPLv2 and GPLv3; see COPYING.NTUX. */ /***********************************************************/ -#include -#include +#include #include +#include + +#include #include #include -#include "ntux_init_impl.h" #include "ntux_nolibc_impl.h" #define ARGV_DRIVER @@ -27,9 +28,6 @@ static const nt_tty_affiliation tty_affiliation __attr_section__(".midipix") = NT_TTY_AFFILIATION_DEFAULT; -/* ntapi accessor table */ -const ntapi_vtbl * ntux_ntapi; - /* ntux command names */ static const char * const ntux_cmd_name[NTUX_CMD_CAP] = { [NTUX_CMD_STAT] = "stat", @@ -309,10 +307,6 @@ int ntux_get_driver_ctx( ARGV_MODE_SCAN, 0,0,0,0,0,0,0}; - /* init */ - if (ntux_init()) - return -1; - /* fdctx */ if (!fdctx) { fdctx = &(const struct ntux_fd_ctx) { -- cgit v1.2.3