Re: [PATCH v3 5/5] Lib: sort.h: remove the size argument from the swap function

2019-04-03 Thread Andy Shevchenko
On Tue, Apr 02, 2019 at 11:55:25PM +0300, Andrey Abramov wrote: > Removes size argument from the swap function because: > 1) It wasn't used. > 2) Custom swap function knows what kind of objects it swaps, > so it already knows their sizes. > > Signed-off-by: Andrey

[PATCH v3 5/5] Lib: sort.h: remove the size argument from the swap function

2019-04-02 Thread Andrey Abramov
Removes size argument from the swap function because: 1) It wasn't used. 2) Custom swap function knows what kind of objects it swaps, so it already knows their sizes. Signed-off-by: Andrey Abramov Reviewed by: George Spelvin --- arch/x86/kernel/unwind_orc.c | 2