lkml.org 
[lkml]   [2020]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 13/13] cpufreq: amd_freq_sensitivity: Remove unused ID structs
From
Date
On 7/14/20 9:50 AM, Lee Jones wrote:
> Can't see them being used anywhere and the compiler doesn't complain
> that they're missing, so ...
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/cpufreq/amd_freq_sensitivity.c:147:32: warning: ‘amd_freq_sensitivity_ids’ defined but not used [-Wunused-const-variable=]
> 147 | static const struct x86_cpu_id amd_freq_sensitivity_ids[] = {
> | ^~~~~~~~~~~~~~~~~~~~~~~~
>
> Cc: Jacob Shin <jacob.shin@amd.com>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---

Same comment as for patch 9/13: these are used automatic module loading.

Kim

\
 
 \ /
  Last update: 2020-07-14 19:17    [W:0.805 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site