Re: [PATCH 04/12] display\driver.c: remove unused FlotaToFixed

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

 



trivial, ack

----- Original Message -----
> ---
>  xddm/display/driver.c | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/xddm/display/driver.c b/xddm/display/driver.c
> index aa4fe42..5a3dbfa 100644
> --- a/xddm/display/driver.c
> +++ b/xddm/display/driver.c
> @@ -1252,20 +1252,6 @@ char *BitmapTypeToStr(int type)
>  #include "utils.h"
>  #include "res.h"
>  
> -FIX FlotaToFixed(FLOATL val, FLOATL scale)
> -{
> -    FLOATOBJ float_obj;
> -    FIX ret;
> -
> -    FLOATOBJ_SetFloat(&float_obj, val);
> -    FLOATOBJ_MulFloat(&float_obj, scale);
> -
> -    ret = FLOATOBJ_GetLong(&float_obj) << 4;
> -    FLOATOBJ_MulLong(&float_obj, 16);
> -    ret |= (0x0f & FLOATOBJ_GetLong(&float_obj));
> -    return ret;
> -}
> -
>  static BOOL GetCosmeticAttr(PDev *pdev, QXLDrawable *drawable, QXLLineAttr
>  *q_line_attr,
>                              LINEATTRS *line_attr)
>  {
> --
> 1.9.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]