diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2019-08-26 21:37:37 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2019-08-26 21:37:37 +0900 |
commit | 0465814831a926ce2f83e8f606d067d86745234e (patch) | |
tree | 63420304bd77eedcbea3cf1c52fb395828a27009 /drivers/devfreq | |
parent | 0ef7c7cce43f6ecc2b96d447e69b2900a9655f7c (diff) | |
download | linux-0465814831a926ce2f83e8f606d067d86745234e.tar.gz linux-0465814831a926ce2f83e8f606d067d86745234e.tar.bz2 linux-0465814831a926ce2f83e8f606d067d86745234e.zip |
PM / devfreq: passive: fix compiler warning
The recent commit of
PM / devfreq: passive: Use non-devm notifiers
had incurred compiler warning, "unused variable 'dev'".
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r-- | drivers/devfreq/governor_passive.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/devfreq/governor_passive.c b/drivers/devfreq/governor_passive.c index da485477065c..be6eeab9c814 100644 --- a/drivers/devfreq/governor_passive.c +++ b/drivers/devfreq/governor_passive.c @@ -149,7 +149,6 @@ static int devfreq_passive_notifier_call(struct notifier_block *nb, static int devfreq_passive_event_handler(struct devfreq *devfreq, unsigned int event, void *data) { - struct device *dev = devfreq->dev.parent; struct devfreq_passive_data *p_data = (struct devfreq_passive_data *)devfreq->data; struct devfreq *parent = (struct devfreq *)p_data->parent; |