summaryrefslogtreecommitdiff
path: root/lib/tests/test_ratelimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/test_ratelimit.c')
-rw-r--r--lib/tests/test_ratelimit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tests/test_ratelimit.c b/lib/tests/test_ratelimit.c
index 365f1fc1f256..33cea5f3d28b 100644
--- a/lib/tests/test_ratelimit.c
+++ b/lib/tests/test_ratelimit.c
@@ -104,8 +104,7 @@ static void test_ratelimit_stress(struct kunit *test)
int i;
const int n_stress_kthread = cpumask_weight(cpu_online_mask);
struct stress_kthread skt = { 0 };
- struct stress_kthread *sktp = kzalloc_objs(*sktp, n_stress_kthread,
- GFP_KERNEL);
+ struct stress_kthread *sktp = kzalloc_objs(*sktp, n_stress_kthread);
KUNIT_EXPECT_NOT_NULL_MSG(test, sktp, "Memory allocation failure");
for (i = 0; i < n_stress_kthread; i++) {