File tree Expand file tree Collapse file tree
drivers/media/video/samsung/mali Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff line change @@ -154,11 +154,10 @@ _mali_osk_errcode_t _mali_osk_pmm_dev_idle(void)
154154*/
155155int _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);
Original file line number Diff line number Diff 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
9087mali_dvfs_staycount_table mali_dvfs_staycount [MALI_DVFS_STEPS ]= {
You can’t perform that action at this time.
0 commit comments