summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ubi-tests/integ.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ubi-tests/integ.c b/tests/ubi-tests/integ.c
index 94d546b..26c2ce5 100644
--- a/tests/ubi-tests/integ.c
+++ b/tests/ubi-tests/integ.c
@@ -561,8 +561,6 @@ static void get_ubi_devices_info(void)
static void load_ubi(void)
{
- int ret;
-
if (system("modprobe -r ubi"))
error_exit("Failed to unload UBI module");