note/noteram_driver: Remove the unused variable j
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
72fbbbdbf3
commit
50de39acd5
1 changed files with 1 additions and 2 deletions
|
@ -1013,7 +1013,6 @@ static int noteram_dump_one(FAR uint8_t *p, FAR struct lib_outstream_s *s,
|
||||||
{
|
{
|
||||||
FAR struct note_syscall_enter_s *nsc;
|
FAR struct note_syscall_enter_s *nsc;
|
||||||
int i;
|
int i;
|
||||||
int j;
|
|
||||||
uintptr_t arg;
|
uintptr_t arg;
|
||||||
|
|
||||||
nsc = (FAR struct note_syscall_enter_s *)p;
|
nsc = (FAR struct note_syscall_enter_s *)p;
|
||||||
|
@ -1027,7 +1026,7 @@ static int noteram_dump_one(FAR uint8_t *p, FAR struct lib_outstream_s *s,
|
||||||
ret += lib_sprintf(s, "sys_%s(",
|
ret += lib_sprintf(s, "sys_%s(",
|
||||||
g_funcnames[nsc->nsc_nr - CONFIG_SYS_RESERVED]);
|
g_funcnames[nsc->nsc_nr - CONFIG_SYS_RESERVED]);
|
||||||
|
|
||||||
for (i = j = 0; i < nsc->nsc_argc; i++)
|
for (i = 0; i < nsc->nsc_argc; i++)
|
||||||
{
|
{
|
||||||
arg = nsc->nsc_args[i];
|
arg = nsc->nsc_args[i];
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
|
|
Loading…
Reference in a new issue