userspace: remove dead code
File userspace.c contains dead code in function char *otype_to_str() Remove "return NULL" and replace with "ret = NULL". Found as a coding guideline violation (MISRA R2.1) by static coding scanning tool. Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
This commit is contained in:
parent
ae4fb20f67
commit
d6c9d40ee0
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ const char *otype_to_str(enum k_objects otype)
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
ARG_UNUSED(otype);
|
ARG_UNUSED(otype);
|
||||||
return NULL;
|
ret = NULL;
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue