Skip to content
Commit 11fa52fe authored by Tom Rix's avatar Tom Rix Committed by Rafael J. Wysocki
Browse files

cpufreq: amd-pstate: Make varaiable mode_state_machine static



smatch reports
drivers/cpufreq/amd-pstate.c:907:25: warning: symbol
  'mode_state_machine' was not declared. Should it be static?

This variable is only used in one file so it should be static.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarWyes Karny <wyes.karny@amd.com>
Tested-by: default avatarWyes Karny <wyes.karny@amd.com>
Reviewed-by: default avatarDhruva Gole <d-gole@ti.com>
[ rjw: Subject edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent a038895e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment