[Accel-config] [PATCH v3 14/14] accel-config: Remove unloading of driver at end
ramesh.thomas at intel.com
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
From: Ramesh Thomas <ramesh.thomas(a)intel.com> New idxd driver in kernel ver 5.10 cannot be unloaded without unloading idxd_mdev driver. idxd_mdev drivers gets loaded and need not be unloaded after the test. Remove unloading and reloding of idxd to avoid error message during idxd driver unload failure. Signed-off-by: Ramesh Thomas <ramesh.thomas(a)intel.com> --- test/libaccfg.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/libaccfg.c b/test/libaccfg.c index 94d6156..f6fd55e 100644 --- a/test/libaccfg.c +++ b/test/libaccfg.c @@ -1126,8 +1126,6 @@ int test_libaccfg(int loglevel, struct accfg_test *test, else test_cleanup(ctx); - kmod_module_remove_module(mod, 0); - kmod_module_probe_insert_module(mod, 0, NULL, NULL, NULL, NULL); kmod_unref(kmod_ctx); return result; -- 2.26.2