lib-stackdepot-remove-unused-function-argument.patch removed from -mm tree
The patch titled
Subject: lib/stackdepot: remove unused function argument
has been removed from the -mm tree. Its filename was
lib-stackdepot-remove-unused-function-argument.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Marco Elver <[email protected]>
Subject: lib/stackdepot: remove unused function argument
alloc_flags in depot_alloc_stack() is no longer used; remove it.
Signed-off-by Marco Elver <[email protected]>
Tested-by Shuah Khan <[email protected]>
Reviewed-by Andrey Konovalov <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Cc Dmitry Vyukov <[email protected]>
Cc "Gustavo A. R. Silva" <[email protected]>
Cc Lai Jiangshan <[email protected]>
Cc Taras Madan <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vijayanand Jitta <[email protected]>
Cc Vinayak Menon <[email protected]>
Cc Walter Wu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
lib/stackdepot.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
lib/stackdepot.c renamed from lib/stackdepot.c~lib-stackdepot-remove-unused-function-argument +4 -5
@@ -102,8 +102,8 @@ static bool init_stack_slab(void **preal }/* Allocation of a new stack in raw storage */ -static struct stack_record *depot_alloc_stack (unsigned long *entries,int size, -u32 hash,void **prealloc,gfp_t alloc_flags) +static struct stack_record * +depot_alloc_stack (unsigned long *entries,int size,u32 hash,void **prealloc) {struct stack_record *stack;size_t required_size =struct_size (stack, entries, size);
@@ -309,9 +309,8 @@ depot_stack_handle_t stack_depot_save(un found =find_stack (*bucket, entries, nr_entries, hash);if (!found) { -struct stack_record *new = -depot_alloc_stack (entries, nr_entries, - hash, &prealloc, alloc_flags); +struct stack_record *new =depot_alloc_stack (entries, nr_entries, hash, &prealloc); +if (new) { new->next = *bucket;/*
_
Patches currently in -mm which might be from [email protected] are