diff options
author | Helge Deller <deller@gmx.de> | 2023-06-30 12:30:19 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-30 17:14:14 +0200 |
commit | 0e466703d96a86d8bc9b6a02bee22a11332431ed (patch) | |
tree | 38e0ee68ceda35986b572dc42cc8fb03c775e121 /arch/parisc/kernel/module.c | |
parent | parisc: pdc_chassis: Fix kdoc warnings (diff) | |
download | linux-0e466703d96a86d8bc9b6a02bee22a11332431ed.tar.xz linux-0e466703d96a86d8bc9b6a02bee22a11332431ed.zip |
parisc: module: Mark symindex __maybe_unused
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/module.c')
-rw-r--r-- | arch/parisc/kernel/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c index f6e38c4d3904..d214bbe3c2af 100644 --- a/arch/parisc/kernel/module.c +++ b/arch/parisc/kernel/module.c @@ -845,7 +845,7 @@ int module_finalize(const Elf_Ehdr *hdr, const char *strtab = NULL; const Elf_Shdr *s; char *secstrings; - int symindex = -1; + int symindex __maybe_unused = -1; Elf_Sym *newptr, *oldptr; Elf_Shdr *symhdr = NULL; #ifdef DEBUG |