mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
dcc_v2: Remove duplicate function
Remove duplicate is_dcc_enabled function introduced by
commit 2bc8103c2b ("dcc_v2: Don't set the default
value to sram when dcc is enabled").
Change-Id: I05f50b8b89b7433b889367cc080904d698b48f2f
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
This commit is contained in:
parent
18dc13d57e
commit
c95b59de99
1 changed files with 0 additions and 15 deletions
|
|
@ -711,21 +711,6 @@ static void dcc_disable(struct dcc_drvdata *drvdata)
|
|||
mutex_unlock(&drvdata->mutex);
|
||||
}
|
||||
|
||||
static bool is_dcc_enabled(struct dcc_drvdata *drvdata)
|
||||
{
|
||||
bool dcc_enable = false;
|
||||
int list;
|
||||
|
||||
for (list = 0; list < drvdata->nr_link_list; list++) {
|
||||
if (drvdata->enable[list]) {
|
||||
dcc_enable = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return dcc_enable;
|
||||
}
|
||||
|
||||
static ssize_t curr_list_show(struct device *dev,
|
||||
struct device_attribute *attr, char *buf)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue