summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-selector.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-01-06 01:49:39 -0500
committermonsta <[email protected]>2016-01-06 17:36:26 +0300
commitacc20eb50af01fcb6ca2a024b65913cc32a1e670 (patch)
treea24b232729a1fbacb6bace6af620b5b2d72ceb17 /cpufreq/src/cpufreq-selector.c
parent4a9c10288ab7dcd26c667c5d8fefbbc44e8c4cf3 (diff)
downloadmate-applets-acc20eb50af01fcb6ca2a024b65913cc32a1e670.tar.bz2
mate-applets-acc20eb50af01fcb6ca2a024b65913cc32a1e670.tar.xz
cpufreq: remove unused argument "parent"
remove unused argument "parent" in cpufreq_selector_set_xxx_async functions
Diffstat (limited to 'cpufreq/src/cpufreq-selector.c')
-rw-r--r--cpufreq/src/cpufreq-selector.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/cpufreq/src/cpufreq-selector.c b/cpufreq/src/cpufreq-selector.c
index 9448009a..58922d0c 100644
--- a/cpufreq/src/cpufreq-selector.c
+++ b/cpufreq/src/cpufreq-selector.c
@@ -171,8 +171,7 @@ selector_set_frequency_async (SelectorAsyncData *data)
void
cpufreq_selector_set_frequency_async (CPUFreqSelector *selector,
guint cpu,
- guint frequency,
- guint32 parent)
+ guint frequency)
{
SelectorAsyncData *data;
@@ -182,7 +181,6 @@ cpufreq_selector_set_frequency_async (CPUFreqSelector *selector,
data->call = FREQUENCY;
data->cpu = cpu;
data->frequency = frequency;
- data->parent_xid = parent;
selector_set_frequency_async (data);
}
@@ -220,8 +218,7 @@ selector_set_governor_async (SelectorAsyncData *data)
void
cpufreq_selector_set_governor_async (CPUFreqSelector *selector,
guint cpu,
- const gchar *governor,
- guint32 parent)
+ const gchar *governor)
{
SelectorAsyncData *data;
@@ -231,7 +228,6 @@ cpufreq_selector_set_governor_async (CPUFreqSelector *selector,
data->call = GOVERNOR;
data->cpu = cpu;
data->governor = g_strdup (governor);
- data->parent_xid = parent;
selector_set_governor_async (data);
}
@@ -264,8 +260,7 @@ cpufreq_selector_run_command (CPUFreqSelector *selector,
void
cpufreq_selector_set_frequency_async (CPUFreqSelector *selector,
guint cpu,
- guint frequency,
- guint32 parent)
+ guint frequency)
{
gchar *args;
@@ -277,8 +272,7 @@ cpufreq_selector_set_frequency_async (CPUFreqSelector *selector,
void
cpufreq_selector_set_governor_async (CPUFreqSelector *selector,
guint cpu,
- const gchar *governor,
- guint32 parent)
+ const gchar *governor)
{
gchar *args;