• J
    hwmon: (coretemp) Fix harmless build warning · 45ff34d3
    Jean Delvare 提交于
    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: NJean 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
coretemp.c 14.2 KB