]> www.infradead.org Git - mtd-utils.git/commitdiff
fs-tests: integck: do not use global common variables
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 Apr 2011 13:28:06 +0000 (16:28 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 18 Apr 2011 14:44:46 +0000 (17:44 +0300)
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

index a53be6430f15b938137153a360bbdead4e7517c5..5cb7bcabe63591e67404448983225839b4ba3a01 100644 (file)
@@ -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());