llext: remove a superfluous variable initialisation
ret in llext_load() is always assigned before use, remove its redundant initialisation. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
595a9c11c8
commit
ade72c2b3a
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ out:
|
||||||
|
|
||||||
int llext_load(struct llext_loader *ldr, const char *name, struct llext **ext)
|
int llext_load(struct llext_loader *ldr, const char *name, struct llext **ext)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret;
|
||||||
elf_ehdr_t ehdr;
|
elf_ehdr_t ehdr;
|
||||||
|
|
||||||
ret = llext_seek(ldr, 0);
|
ret = llext_seek(ldr, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue