Skip to content
Snippets Groups Projects
Select Git revision
  • 5a559057b4fa0f60b2772fb590bf13e90af7a57d
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

coretemp.c

  • Jean Delvare's avatar
    45ff34d3
    hwmon: (coretemp) Fix harmless build warning · 45ff34d3
    Jean Delvare authored
    
    Fix the following build warning:
    
      CC [M]  drivers/hwmon/coretemp.o
    drivers/hwmon/coretemp.c: In function "coretemp_init":
    drivers/hwmon/coretemp.c:521: warning: unused variable "n"
    drivers/hwmon/coretemp.c:521: warning: unused variable "p"
    
    Introduced by commit 851b29cb. When
    you drop code, you also have to drop the variables this code was
    using.
    
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Cc: Chen Gong <gong.chen@linux.intel.com>
    Cc: Rudolf Marek <r.marek@assembler.cz>
    Cc: Huaxu Wan <huaxu.wan@intel.com>
    45ff34d3
    History
    hwmon: (coretemp) Fix harmless build warning
    Jean Delvare authored
    
    Fix the following build warning:
    
      CC [M]  drivers/hwmon/coretemp.o
    drivers/hwmon/coretemp.c: In function "coretemp_init":
    drivers/hwmon/coretemp.c:521: warning: unused variable "n"
    drivers/hwmon/coretemp.c:521: warning: unused variable "p"
    
    Introduced by commit 851b29cb. When
    you drop code, you also have to drop the variables this code was
    using.
    
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Cc: Chen Gong <gong.chen@linux.intel.com>
    Cc: Rudolf Marek <r.marek@assembler.cz>
    Cc: Huaxu Wan <huaxu.wan@intel.com>