mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
ipe: constify token_default()
token_default() does not modify its argument, so make it const. Assisted-by: LLM Signed-off-by: Fan Wu <wufan@kernel.org>
This commit is contained in:
parent
edf43c0319
commit
f4f76b791a
|
|
@ -201,7 +201,7 @@ static int parse_header(char *line, struct ipe_parsed_policy *p)
|
|||
* * %false - The token is not "DEFAULT"
|
||||
* * %true - The token is "DEFAULT"
|
||||
*/
|
||||
static bool token_default(char *token)
|
||||
static bool token_default(const char *token)
|
||||
{
|
||||
return !strcmp(token, "DEFAULT");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user