kernel: fix warning on x86_64, close #637

This commit is contained in:
weishu
2023-06-16 19:32:48 +08:00
parent 1e0176242a
commit c697398893

View File

@@ -108,7 +108,7 @@ static const char __user *get_user_arg_ptr(struct user_arg_ptr argv, int nr)
/* /*
* count() counts the number of strings in array ARGV. * count() counts the number of strings in array ARGV.
*/ */
static int count(struct user_arg_ptr argv, int max) static int count(struct user_arg_ptr argv, int max) __maybe_unused
{ {
int i = 0; int i = 0;