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:
Willy Tarreau 2022-06-24 09:26:19 +02:00
parent 252754c745
commit 66ef2c3af6

View File

@ -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;