Patchwork [24/27] fs-tests: integck: do not use global common variables

login
register
mail settings
Submitter Artem Bityutskiy
Date April 13, 2011, 3:19 p.m.
Message ID <1302707947-6143-25-git-send-email-dedekind1@gmail.com>
Download mbox | patch
Permalink /patch/91047/
State New
Headers show

Comments

Artem Bityutskiy - April 13, 2011, 3:19 p.m.
From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

Do not use the 'tests_file_system_mount_dir' and 'tests_file_system_type'
variables because we do not depend on them any longer.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
---
 tests/fs-tests/integrity/integck.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

Patch

diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c
index a53be64..5cb7bca 100644
--- a/tests/fs-tests/integrity/integck.c
+++ b/tests/fs-tests/integrity/integck.c
@@ -2388,10 +2388,6 @@  int main(int argc, char *argv[])
 
 	get_tested_fs_info();
 
-	/* Temporary hack - will be fixed a bit later */
-	tests_file_system_mount_dir = (void *)fsinfo.mount_point;
-	tests_file_system_type = (void *)fsinfo.fstype;
-
 	/* Seed the random generator with out PID */
 	srand(getpid());