提交 21c84e00 编写于 作者: J Jim Meyering

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.
上级 2355fce3
...@@ -366,9 +366,6 @@ int get_virtual_functions_linux(const char *sysfs_path, ...@@ -366,9 +366,6 @@ int get_virtual_functions_linux(const char *sysfs_path,
} }
} }
closedir(dir);
dir = NULL;
ret = 0; ret = 0;
out: out:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册