]> git.baikalelectronics.ru Git - kernel.git/commit
powercap: DTPM: Drop unused local variable from init_dtpm()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Dec 2021 16:51:59 +0000 (17:51 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Dec 2021 16:51:59 +0000 (17:51 +0100)
commit1ac5e21d43b2325854cf3b36b1509b28468dc6fd
treed030abbcd5f2d66e524a36941c8ca041d97afca8
parentf751db8adaeaa4a5b200121973633ea45f4bb395
powercap: DTPM: Drop unused local variable from init_dtpm()

The dtpm_descr variable in init_dtpm() is not used after commit
f751db8adaea ("powercap/drivers/dtpm: Disable DTPM at boot time"),
so drop it.

Fixes: f751db8adaea ("powercap/drivers/dtpm: Disable DTPM at boot time")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/dtpm.c