Re: [PATCH 26/50] drm/gma500: Remove dead code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 11, 2013 at 11:34 AM, Daniel Vetter <daniel.vetter@xxxxxxxx> wrote:
> This has the nice advantage that we'll get rid of a DRM_WAIT_ON user
> for free.
>
> Cc: Patrik Jakobsson <patrik.r.jakobsson@xxxxxxxxx>
> Cc: Alan Cox <alan@xxxxxxxxxxxxxxx>
> Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
> ---
>  drivers/gpu/drm/gma500/psb_irq.c | 15 ---------------
>  1 file changed, 15 deletions(-)
>
> diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c
> index a9bb34704738..f883f9e4c524 100644
> --- a/drivers/gpu/drm/gma500/psb_irq.c
> +++ b/drivers/gpu/drm/gma500/psb_irq.c
> @@ -450,21 +450,6 @@ int psb_irq_disable_dpst(struct drm_device *dev)
>         return 0;
>  }
>
> -#ifdef PSB_FIXME
> -static int psb_vblank_do_wait(struct drm_device *dev,
> -                             unsigned int *sequence, atomic_t *counter)
> -{
> -       unsigned int cur_vblank;
> -       int ret = 0;
> -       DRM_WAIT_ON(ret, dev->vblank.queue, 3 * HZ,
> -                   (((cur_vblank = atomic_read(counter))
> -                     - *sequence) <= (1 << 23)));
> -       *sequence = cur_vblank;
> -
> -       return ret;
> -}
> -#endif
> -
>  /*
>   * It is used to enable VBLANK interrupt
>   */
> --
> 1.8.4.3
>

Yes, that can just go away. Thanks.

Acked-by: Patrik Jakobsson <patrik.r.jakobsson@xxxxxxxxx>
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux