projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252754c
)
CLEANUP: config: remove unused proc_mask()
author
Willy Tarreau
<w@1wt.eu>
Fri, 24 Jun 2022 07:26:19 +0000
(09:26 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000
(19:15 +0200)
The function was used to return the mask of enabled processes, but it
now always returns 1 and is not called anymore. Let's drop it.
include/haproxy/global.h
patch
|
blob
|
history
diff --git
a/include/haproxy/global.h
b/include/haproxy/global.h
index
9d9a7fc
..
dcabd7c
100644
(file)
--- a/
include/haproxy/global.h
+++ b/
include/haproxy/global.h
@@
-76,12
+76,6
@@
static inline int already_warned(unsigned int warning)
return 0;
}
-/* returns a mask if set, otherwise 1 */
-static inline unsigned long proc_mask(unsigned long mask)
-{
- return mask ? mask : 1;
-}
-
extern unsigned int experimental_directives_allowed;
struct cfg_keyword;