• Mathieu Malaterre's avatar
    powerpc/32: Mark both tmp variables as unused · 67b464a8
    Mathieu Malaterre authored
    Since the value of `tmp` is never intended to be read, declare both `tmp`
    variables as unused. Fix warning (treated as error in W=1):
    
      arch/powerpc/kernel/signal_32.c: In function ‘sys_swapcontext’:
      arch/powerpc/kernel/signal_32.c:1048:16: error: variable ‘tmp’ set but not used
      arch/powerpc/kernel/signal_32.c: In function ‘sys_debug_setcontext’:
      arch/powerpc/kernel/signal_32.c:1234:16: error: variable ‘tmp’ set but not used
    Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    67b464a8
signal_32.c 41.2 KB