OSDN Git Service

MIPS: arc: use function argument for passing argc/argv to prom_init_cmdline
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Tue, 22 Oct 2019 16:13:14 +0000 (18:13 +0200)
committerPaul Burton <paulburton@kernel.org>
Thu, 24 Oct 2019 04:10:34 +0000 (21:10 -0700)
commit7b16831d1eb1d2f2cbca6f01700a20a73aad57c0
treedb297783cf078634edae29f1de4660b4676e1f40
parentcbd09241dd9db02caceb958b9ceb9e91762a0572
MIPS: arc: use function argument for passing argc/argv to prom_init_cmdline

prom_argc and prom_argv are only used by prom_init_cmdline(), so
we could pass them directly as function argument.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/fw/arc/cmdline.c
arch/mips/fw/arc/init.c
arch/mips/include/asm/sgialib.h