mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
CLEANUP: config: remove unused proc_mask()
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.
This commit is contained in:
parent
252754c745
commit
66ef2c3af6
@ -76,12 +76,6 @@ static inline int already_warned(unsigned int warning)
|
|||||||
return 0;
|
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;
|
extern unsigned int experimental_directives_allowed;
|
||||||
|
|
||||||
struct cfg_keyword;
|
struct cfg_keyword;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user