[Mesa-dev] [PATCH] anv: drop unused zero macro.

Jason Ekstrand jason at jlekstrand.net
Wed Oct 19 04:34:42 UTC 2016


rb

On Tue, Oct 18, 2016 at 8:36 PM, Dave Airlie <airlied at gmail.com> wrote:

> From: Dave Airlie <airlied at redhat.com>
>
> I can't see this being used anywhere.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/intel/vulkan/anv_private.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_
> private.h
> index 0e25827..3fe9d7d 100644
> --- a/src/intel/vulkan/anv_private.h
> +++ b/src/intel/vulkan/anv_private.h
> @@ -163,8 +163,6 @@ anv_clear_mask(uint32_t *inout_mask, uint32_t
> clear_mask)
>     memcpy((dest), (src), (count) * sizeof(*(src))); \
>  })
>
> -#define zero(x) (memset(&(x), 0, sizeof(x)))
> -
>  /* Define no kernel as 1, since that's an illegal offset for a kernel */
>  #define NO_KERNEL 1
>
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161018/7a3f770c/attachment.html>


More information about the mesa-dev mailing list