1. 16 Nov, 2011 40 commits
    • Anatolij Gustschin's avatar
      board/cm41xx/flash.c: Fix GCC 4.6 warnings · 49adbe81
      Anatolij Gustschin authored
      
      
      Fix:
      flash.c: In function 'flash_erase':
      flash.c:209:6: warning: variable 'flag' set but not used
      [-Wunused-but-set-variable]
      flash.c: In function 'write_data':
      flash.c:373:6: warning: variable 'flag' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      49adbe81
    • Anatolij Gustschin's avatar
      drivers/net/enc28j60.c: Fix GCC 4.6 warnings · da540665
      Anatolij Gustschin authored
      
      
      Fix:
      enc28j60.c: In function 'enc_receive':
      enc28j60.c:435:5: warning: variable 'eir_reg' set but not used
      [-Wunused-but-set-variable]
      enc28j60.c: In function 'enc_poll':
      enc28j60.c:503:5: warning: variable 'estat_reg' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      da540665
    • Anatolij Gustschin's avatar
      drivers/net/at91_emac.c: Fix GCC 4.6 warning · e560492b
      Anatolij Gustschin authored
      
      
      Fix:
      at91_emac.c: In function 'at91emac_write_hwaddr':
      at91_emac.c:477:15: warning: variable 'dev' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      e560492b
    • Anatolij Gustschin's avatar
      drivers/mtd/dataflash.c: Fix GCC 4.6 warning · eec3ae68
      Anatolij Gustschin authored
      
      
      Fix:
      dataflash.c: In function 'AT91F_DataflashInit':
      dataflash.c:42:6: warning: variable 'last_part' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      eec3ae68
    • Anatolij Gustschin's avatar
      drivers/spi/atmel_spi.c: Fix GCC 4.6 warning · eba46d69
      Anatolij Gustschin authored
      
      
      Fix:
      atmel_spi.c: In function 'spi_xfer':
      atmel_spi.c:139:7: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      eba46d69
    • Stefan Roese's avatar
      pip405.c: Fix GCC 4.6 build warnings · 4e11c351
      Stefan Roese authored
      
      
      Fix:
      pip405.c: In function 'board_early_init_f':
      pip405.c:192:16: warning: variable 'tctp_clocks' set but not used [-Wunused-but-set-variable]
      pip405.c:182:16: warning: variable 'dataout' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      4e11c351
    • Stefan Roese's avatar
      mip405.c: Fix GCC 4.6 build warnings · 4233fafe
      Stefan Roese authored
      
      
      Fix:
      mip405.c: In function 'init_sdram':
      mip405.c:250:4: warning: variable 'tctp_clocks' set but not used [-Wunused-but-set-variable]
      mip405.c: In function 'initdram':
      mip405.c:629:9: warning: variable 'ds' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      4233fafe
    • Stefan Roese's avatar
      auto_update.c: Fix GCC 4.6 build warnings · 80b68f70
      Stefan Roese authored
      
      
      Fix:
      ../common/auto_update.c: In function 'au_check_header_valid':
      ../common/auto_update.c:94:16: warning: variable 'checksum' set but not used [-Wunused-but-set-variable]
      ../common/auto_update.c: In function 'do_auto_update':
      ../common/auto_update.c:400:30: warning: variable 'got_ctrlc' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      80b68f70
    • Stefan Roese's avatar
      iop480_uart.c: Fix GCC 4.6 build warnings · bddf144c
      Stefan Roese authored
      
      
      Fix:
      iop480_uart.c: In function 'serial_init':
      iop480_uart.c:137:16: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      bddf144c
    • Stefan Roese's avatar
      cmd_dasa_sim.c: Fix GCC 4.6 build warnings · b2776d3f
      Stefan Roese authored
      
      
      Fix:
      cmd_dasa_sim.c: In function 'updatePci9054':
      cmd_dasa_sim.c:135:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      cmd_dasa_sim.c: In function 'clearPci9054':
      cmd_dasa_sim.c:189:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      b2776d3f
    • Stefan Roese's avatar
      cmd_pci405.c: Fix GCC 4.6 build warnings · 3cceed20
      Stefan Roese authored
      
      
      Fix:
      cmd_pci405.c: In function 'do_loadpci':
      cmd_pci405.c:45:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      3cceed20
    • Stefan Roese's avatar
      dlvision-10g.c: Fix GCC 4.6 build warnings · 2c272237
      Stefan Roese authored
      
      
      Fix:
      dlvision-10g.c: In function 'print_fpga_info':
      dlvision-10g.c:90:11: warning: variable 'feature_compression' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      2c272237
    • Stefan Roese's avatar
      nand_boot.c: Fix GCC 4.6 build warnings · 6d68621c
      Stefan Roese authored
      
      
      Fix:
      nand_boot.c: In function 'nand_read_page':
      nand_boot.c:190:6: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
      nand_boot.c: In function 'nand_boot':
      nand_boot.c:271:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      6d68621c
    • Stefan Roese's avatar
      sata_dwc.c: Fix GCC 4.6 build warnings · 13a8c8d0
      Stefan Roese authored
      
      
      Fix:
      sata_dwc.c: In function 'sata_dwc_softreset':
      sata_dwc.c:444:5: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      sata_dwc.c:443:6: warning: variable 'serror' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'scan_sata':
      sata_dwc.c:654:16: warning: variable 'lba_desc' set but not used [-Wunused-but-set-variable]
      sata_dwc.c:538:16: warning: variable 'xfer_mask' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'ata_dev_read_id':
      sata_dwc.c:747:14: warning: variable 'reason' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'ata_dev_read_sectors':
      sata_dwc.c:1810:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'ata_dev_write_sectors':
      sata_dwc.c:1994:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      13a8c8d0
    • Stefan Roese's avatar
      20001122-1.c: Fix GCC 4.6 build warning · 944416e0
      Stefan Roese authored
      
      
      Fix:
      20001122-1.c: In function 'fpu_post_test_math1':
      20001122-1.c:37:22: warning: variable 'p' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      944416e0
    • Stefan Roese's avatar
      40x_spd_sdram.c: Fix GCC 4.6 build warnings · 4a127266
      Stefan Roese authored
      
      
      Fix:
      40x_spd_sdram.c: In function 'spd_sdram':
      40x_spd_sdram.c:137:6: warning: variable 'sdram0_b3cr' set but not used [-Wunused-but-set-variable]
      40x_spd_sdram.c:136:6: warning: variable 'sdram0_b2cr' set but not used [-Wunused-but-set-variable]
      40x_spd_sdram.c:129:6: warning: variable 'sdram0_ecccfg' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      4a127266
    • Stefan Roese's avatar
      44x_spd_ddr2.c: Fix GCC 4.6 build warnings · deeecb7c
      Stefan Roese authored
      
      
      44x_spd_ddr2.c: In function 'initdram':
      44x_spd_ddr2.c:450:17: warning: variable 'dimm_spd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c: In function 'program_copt1':
      44x_spd_ddr2.c:1003:16: warning: variable 'ddrtype' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c: In function 'DQS_calibration_process':
      44x_spd_ddr2.c:2498:7: warning: variable 'window_found' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2497:16: warning: variable 'end_rffd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2496:16: warning: variable 'end_rqfd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2495:16: warning: variable 'begin_rffd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2494:16: warning: variable 'begin_rqfd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2493:7: warning: variable 'min_end' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      deeecb7c
    • Stefan Roese's avatar
      44x_spd_ddr.c: Fix GCC 4.6 build warnings · 6cd71d0f
      Stefan Roese authored
      
      
      Fix:
      44x_spd_ddr.c: In function 'program_cfg0':
      44x_spd_ddr.c:384:16: warning: variable 'dimm_64bit' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr.c:383:16: warning: variable 'dimm_32bit' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      6cd71d0f
    • Stefan Roese's avatar
      cmd_ecctest.c: Fix GCC 4.6 build warnings · a6370da1
      Stefan Roese authored
      
      
      Fix:
      cmd_ecctest.c: In function 'inject_ecc_error':
      cmd_ecctest.c:116:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      cmd_ecctest.c: In function 'rewrite_ecc_parity':
      cmd_ecctest.c:154:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      a6370da1
    • Stefan Roese's avatar
      4xx_ibm_ddr2_autocalib.c: Fix GCC 4.6 build warnings · 8f6db4b7
      Stefan Roese authored
      
      
      Fix:
      4xx_ibm_ddr2_autocalib.c: In function 'get_membase':
      4xx_ibm_ddr2_autocalib.c:157:8: warning: variable 'bxcf' set but not used [-Wunused-but-set-variable]
      4xx_ibm_ddr2_autocalib.c: In function 'DQS_calibration_methodB':
      4xx_ibm_ddr2_autocalib.c:722:8: warning: variable 'rffd' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      8f6db4b7
    • Stefan Roese's avatar
      4xx_pcie.c: Fix GCC 4.6 build warnings · fe91a657
      Stefan Roese authored
      
      
      Fix:
      4xx_pcie.c: In function 'pcie_read_config':
      4xx_pcie.c:230:6: warning: variable 'address' set but not used [-Wunused-but-set-variable]
      4xx_pcie.c: In function 'pcie_write_config':
      4xx_pcie.c:290:6: warning: variable 'address' set but not used [-Wunused-but-set-variable]
      4xx_pcie.c: In function 'ppc4xx_setup_pcie_rootpoint':
      4xx_pcie.c:1066:17: warning: variable 'rmbase' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      fe91a657
    • Stefan Roese's avatar
      4xx_enet.c: Fix GCC 4.6 build warnings · f0813ab1
      Stefan Roese authored
      
      
      Fix:
      4xx_enet.c: In function 'ppc_4xx_eth_init':
      4xx_enet.c:875:6: warning: variable 'ethgroup' set but not used [-Wunused-but-set-variable]
      
      I used "__maybe_unused" here intentionally, since all other
      alternatives to fix this compilation warning would result in more
      ifdef's.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      f0813ab1
    • Stefan Roese's avatar
      usb_ohci.c: Fix GCC 4.6 build warnings · af0af524
      Stefan Roese authored
      
      
      Fix:
      usb_ohci.c: In function 'dl_transfer_length':
      usb_ohci.c:756:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      af0af524
    • Anatolij Gustschin's avatar
      arch/powerpc/cpu/mpc512x/i2c.c: Fix GCC 4.6 warnings · d14a94bf
      Anatolij Gustschin authored
      
      
      Fix:
      i2c.c: In function 'wait_for_bb':
      i2c.c:81:16: warning: variable 'temp' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      d14a94bf
    • Anatolij Gustschin's avatar
      arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings · c33b92eb
      Anatolij Gustschin authored
      
      
      Fix:
      pci.c: In function 'pci_init_board':
      pci.c:55:26: warning: variable 'pci_conf' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      c33b92eb
    • Wolfgang Denk's avatar
      board/esd/cpci750/sdram_init.c: Fix GCC 4.6 build warnings · 2595fddb
      Wolfgang Denk authored
      
      
      Fix:
      sdram_init.c: In function 'check_dimm':
      sdram_init.c:267:50: warning: variable 'trrd_clocks' set but not used
      [-Wunused-but-set-variable]
      sdram_init.c:267:37: warning: variable 'tras_clocks' set but not used
      [-Wunused-but-set-variable]
      sdram_init.c:267:24: warning: variable 'trcd_clocks' set but not used
      [-Wunused-but-set-variable]
      sdram_init.c:267:8: warning: variable 'trp_clocks' set but not used
      [-Wunused-but-set-variable]
      sdram_init.c:253:16: warning: variable 'spd_checksum' set but not used
      [-Wunused-but-set-variable]
      sdram_init.c: In function 'initdram':
      sdram_init.c:1693:14: warning: variable 's1' set but not used
      [-Wunused-but-set-variable]
      sdram_init.c:1693:6: warning: variable 's0' set but not used
      [-Wunused-but-set-variable]
      
      Biggest part o the fix is converting the custom debug code to standard
      debug().
      
      No attempts were made to cleanup the code.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
      2595fddb
    • Wolfgang Denk's avatar
      board/esd/cpci750/cpci750.c: Fix error handling · be51c5c9
      Wolfgang Denk authored
      
      
      ThE code recorded error conditions but did not pass these on to the
      higher level caller.  Fixing this fixes also this build warning:
      cpci750.c: In function 'do_loadpci':
      cpci750.c:569:6: warning: variable 'status' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
      be51c5c9
    • Wolfgang Denk's avatar
      drivers/video/ct69000.c: Fix GC 4.6 build warning · 8a2d1f24
      Wolfgang Denk authored
      
      
      Convert custom debug code to use standard debug() facility.
      This also fixes these build warning:
      ct69000.c: In function 'FindAndSetPllParamIntoXrRegs':
      ct69000.c:706:28: warning: variable 'new_pixclock' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarAnatolij Gustschin <agust@denx.de>
      8a2d1f24
    • Wolfgang Denk's avatar
      common/cmd_universe.c: Fix GCC 4.6 build warning · e4119560
      Wolfgang Denk authored
      
      
      Fix:
      cmd_universe.c: In function 'universe_init':
      cmd_universe.c:49:17: warning: variable 'lastError' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      e4119560
    • Wolfgang Denk's avatar
      common/cmd_fdc.c: Fix GCC 4.6 build warnings · 4ec6e4a8
      Wolfgang Denk authored
      
      
      Fix:
      cmd_fdc.c: In function 'fdc_read_data':
      cmd_fdc.c:435:6: warning: variable 'flags' set but not used
      [-Wunused-but-set-variable]
      cmd_fdc.c:432:16: warning: variable 'pcn' set but not used
      [-Wunused-but-set-variable]
      cmd_fdc.c:431:20: warning: variable 'lastblk' set but not used
      [-Wunused-but-set-variable]
      
      Note: no attempts were made to otherwise cleanup the code.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      4ec6e4a8
    • Wolfgang Denk's avatar
      board/evb64260/zuma_pbb_mbox.c: Fix GCC 4.6 build warnings · 504f7080
      Wolfgang Denk authored
      
      
      Fix:
      zuma_pbb_mbox.c: In function 'zuma_mbox_dump':
      zuma_pbb_mbox.c:115:2: warning: dereferencing type-punned pointer will
      break strict-aliasing rules [-Wstrict-aliasing]
      zuma_pbb_mbox.c:117:2: warning: dereferencing type-punned pointer will
      break strict-aliasing rules [-Wstrict-aliasing]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      504f7080
    • Wolfgang Denk's avatar
      board/evb64260/zuma_pbb_mbox.c: CodingStyle cleanup · 82732072
      Wolfgang Denk authored
      
      
      Make (mostly) checkpatch-clean
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      82732072
    • Wolfgang Denk's avatar
      board/evb64260/sdram_init.c: Fix GCC 4.6 build warnings · b191c701
      Wolfgang Denk authored
      
      
      Fix:
      sdram_init.c: In function 'setup_sdram_common':
      sdram_init.c:333:49: warning: variable 'ecc' set but not used
      [-Wunused-but-set-variable]
      sdram_init.c: In function 'setup_sdram':
      sdram_init.c:410:13: warning: variable 'check' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      b191c701
    • Wolfgang Denk's avatar
      board/evb64260/eth.c: Fix GCC 4.6 build warning · b524b1c7
      Wolfgang Denk authored
      
      
      Fix:
      eth.c: In function 'gt6426x_handle_SMI':
      eth.c:130:15: warning: variable 'psr' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      b524b1c7
    • Wolfgang Denk's avatar
      board/evb64260/evb64260.c: Fix GC 4.6 build warning · 54a08746
      Wolfgang Denk authored
      
      
      Fix:
      evb64260.c: In function 'debug_led':
      evb64260.c:363:6: warning: variable 'dummy' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      54a08746
    • Wolfgang Denk's avatar
      board/evb64260/i2c.c: Fix GCC 4.6 build warnings · d3a1b1bc
      Wolfgang Denk authored
      
      
      Fix:
      i2c.c: In function 'i2c_init':
      i2c.c:23:15: warning: variable 'actualFreq' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Eran Man <eran@nbase.co.il>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      d3a1b1bc
    • Wolfgang Denk's avatar
      board/evb64260/i2c.c: Coding Style cleanup · fecf63e4
      Wolfgang Denk authored
      
      
      Make checkpatch-clean
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Eran Man <eran@nbase.co.il>
      fecf63e4
    • Wolfgang Denk's avatar
      drivers/block/sym53c8xx.c: Fix GCC 4.6 build warning · 878d6b48
      Wolfgang Denk authored
      
      
      Fix:
      sym53c8xx.c: In function 'scsi_write_dsp':
      sym53c8xx.c:456:16: warning: variable 'val' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      878d6b48
    • Kumar Gala's avatar
      drivers/block/sata_sil3114.c: Fix GCC 4.6 build warning · 7625dd68
      Kumar Gala authored
      
      
      Fix:
      
      sata_sil3114.c: In function 'scan_sata':
      sata_sil3114.c:793:7: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:794:7: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:795:39: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:795:7: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:797:7: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:800:7: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:801:7: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:802:39: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:802:7: warning: array subscript is above array bounds [-Warray-bounds]
      sata_sil3114.c:804:7: warning: array subscript is above array bounds [-Warray-bounds]
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      7625dd68
    • Kumar Gala's avatar
      drivers/bios_emulator/x86emu/ops.c: Fix GCC 4.6 build warning · 755cf792
      Kumar Gala authored
      
      
      Fix:
      
      x86emu/ops.c: In function 'x86emuOp_int3':
      x86emu/ops.c:3521:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      x86emu/ops.c: In function 'x86emuOp_int_IMM':
      x86emu/ops.c:3549:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      x86emu/ops.c: In function 'x86emuOp_into':
      x86emu/ops.c:3579:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      x86emu/ops.c: In function 'x86emuOp_aad':
      x86emu/ops.c:3993:8: warning: variable 'a' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      755cf792