• Baokun Li's avatar
    powerpc/spufs: Remove set but not used variable 'dummy' · 911bacda
    Baokun Li authored
    Fixes gcc '-Wunused-but-set-variable' warning:
    # WARNING: Fixes tag on line 3 doesn't match correct format
    # WARNING: Fixes tag on line 3 doesn't match correct format
    # WARNING: Fixes tag on line 3 doesn't match correct format
    # WARNING: Fixes tag on line 3 doesn't match correct format
    # WARNING: Fixes tag on line 3 doesn't match correct format
    
    arch/powerpc/platforms/cell/spufs/switch.c: In function 'check_ppu_mb_stat':
    arch/powerpc/platforms/cell/spufs/switch.c:1660:6: warning:
    variable ‘dummy’ set but not used [-Wunused-but-set-variable]
    
    arch/powerpc/platforms/cell/spufs/switch.c: In function 'check_ppuint_mb_stat':
    arch/powerpc/platforms/cell/spufs/switch.c:1675:6: warning:
    variable ‘dummy’ set but not used [-Wunused-but-set-variable]
    
    It never used since introduction.
    Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
    Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    Link: https://lore.kernel.org/r/20210601085127.139598-1-libaokun1@huawei.com
    911bacda
switch.c 62.4 KB