Skip to content

Commit d0d77e6

Browse files
committed
Merge pull request #5 from zehome/odroid-ed-3.0.y
Merge from zehome/odroid-ed-3.0.y
2 parents e2a8555 + fd23a74 commit d0d77e6

3 files changed

Lines changed: 3 additions & 12 deletions

File tree

block/cfq-iosched.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,16 +1502,11 @@ static void cfq_add_rq_rb(struct request *rq)
15021502
{
15031503
struct cfq_queue *cfqq = RQ_CFQQ(rq);
15041504
struct cfq_data *cfqd = cfqq->cfqd;
1505-
struct request *__alias, *prev;
1505+
struct request *prev;
15061506

15071507
cfqq->queued[rq_is_sync(rq)]++;
15081508

1509-
/*
1510-
* looks a little odd, but the first insert might return an alias.
1511-
* if that happens, put the alias on the dispatch list
1512-
*/
1513-
while ((__alias = elv_rb_add(&cfqq->sort_list, rq)) != NULL)
1514-
cfq_dispatch_insert(cfqd->queue, __alias);
1509+
elv_rb_add(&cfqq->sort_list, rq);
15151510

15161511
if (!cfq_cfqq_on_rr(cfqq))
15171512
cfq_add_cfqq_rr(cfqd, cfqq);

drivers/media/video/samsung/mali/linux/mali_osk_pm.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,10 @@ _mali_osk_errcode_t _mali_osk_pmm_dev_idle(void)
154154
*/
155155
int _mali_osk_pmm_dev_activate(void)
156156
{
157-
157+
int err = 0;
158158
#if MALI_LICENSE_IS_GPL
159159
#ifdef CONFIG_PM_RUNTIME
160160
#if MALI_PMM_RUNTIME_JOB_CONTROL_ON
161-
int err = 0;
162161
if(is_runtime == 0)
163162
{
164163
pm_suspend_ignore_children(&(mali_gpu_device.dev), true);

drivers/media/video/samsung/mali/platform/pegasus-m400/mali_platform_dvfs.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ mali_dvfs_step step[MALI_DVFS_STEPS]={
8282
#endif
8383
#endif
8484
#endif
85-
#endif
86-
#endif
87-
#endif
8885
};
8986

9087
mali_dvfs_staycount_table mali_dvfs_staycount[MALI_DVFS_STEPS]={

0 commit comments

Comments
 (0)