]> 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)
commitc08bbecf578087a828ba12cecea7018cb50280d5
treed030abbcd5f2d66e524a36941c8ca041d97afca8
parent3df918b604cd4ff6e5dc613ddedb82dc66118e83
powercap: DTPM: Drop unused local variable from init_dtpm()

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

Fixes: 3df918b604cd ("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