projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c01259
)
tools/nolibc: drop unused variables
author
Thomas Weißschuh
<linux@weissschuh.net>
Thu, 3 Aug 2023 07:28:45 +0000
(09:28 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Wed, 23 Aug 2023 03:17:07 +0000
(
05:17
+0200)
Nobody needs it, get rid of it.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/sys.h
patch
|
blob
|
history
diff --git
a/tools/include/nolibc/sys.h
b/tools/include/nolibc/sys.h
index 56f63eb48a1b6f07a533a617c5a1014c4878c106..e12dd962c5788ae365f51c5ce1ec2a520108f752 100644
(file)
--- a/
tools/include/nolibc/sys.h
+++ b/
tools/include/nolibc/sys.h
@@
-738,7
+738,6
@@
static __attribute__((unused))
int open(const char *path, int flags, ...)
{
mode_t mode = 0;
- int ret;
if (flags & O_CREAT) {
va_list args;