projects
/
project
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08709c
)
kmodloader: remove unneeded uname() call
author
Tony Ambardar
<itugrok@yahoo.com>
Thu, 14 Dec 2023 07:17:24 +0000
(23:17 -0800)
committer
Tony Ambardar
<itugrok@yahoo.com>
Thu, 14 Dec 2023 07:17:24 +0000
(23:17 -0800)
This is not used in scan_modules_folder() so drop.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
kmodloader.c
patch
|
blob
|
history
diff --git
a/kmodloader.c
b/kmodloader.c
index b2e7a8b44089a788e51c281ee5fa8ea05b317f51..259ac52d8fa9ce1a4aab43e704525d8583a756c0 100644
(file)
--- a/
kmodloader.c
+++ b/
kmodloader.c
@@
-431,12
+431,10
@@
out:
static int scan_module_folder(const char *dir)
{
int gl_flags = GLOB_NOESCAPE | GLOB_MARK;
- struct utsname ver;
char *path;
glob_t gl;
int j, rv = 0;
- uname(&ver);
path = alloca(strlen(dir) + sizeof("*.ko") + 1);
sprintf(path, "%s*.ko", dir);