clean-up: remove unnecessary closedir call

* src/node_device/node_device_linux_sysfs.c (get_virtual_functions_linux):
Remove unnecessary closedir.  Spotted by Dave Allan.
This commit is contained in:
Jim Meyering 2010-01-20 21:57:34 +01:00
parent 2355fce3ae
commit 21c84e00d3

View File

@ -366,9 +366,6 @@ int get_virtual_functions_linux(const char *sysfs_path,
}
}
closedir(dir);
dir = NULL;
ret = 0;
out: