lib: sbi_scratch: remove owner from sbi_scratch_alloc_offset
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 29 May 2021 19:54:29 +0000 (21:54 +0200)
committerAnup Patel <anup@brainfault.org>
Wed, 2 Jun 2021 11:37:26 +0000 (17:07 +0530)
commitf30b18944e900174bfa9a372ed9d344256891e3a
treef2f17c1afd5d05a8cc1a951d0b804660db3b7747
parent66c4fca532288c750681f33339016772b0ffbf2a
lib: sbi_scratch: remove owner from sbi_scratch_alloc_offset

The parameter owner of function sbi_scratch_alloc_offset() is never used.
The scratch memory is small. We should not use it for debug information in
future. Hence eliminate the parameter.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_scratch.h
lib/sbi/sbi_hart.c
lib/sbi/sbi_hsm.c
lib/sbi/sbi_init.c
lib/sbi/sbi_ipi.c
lib/sbi/sbi_scratch.c
lib/sbi/sbi_timer.c
lib/sbi/sbi_tlb.c