[PATCH libdrm] xf86drmHash: remove unused loop variable

Jan Vesely jan.vesely at rutgers.edu
Wed Nov 7 18:35:05 UTC 2018


On Wed, 2018-11-07 at 14:44 +0000, Eric Engestrom wrote:
> Reported-by: Jan Vesely <jano.vesely at gmail.com>
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>

LGTM.
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>

Jan

> ---
>  xf86drmHash.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/xf86drmHash.c b/xf86drmHash.c
> index 891b732632c36d373ac9..2cf2b80ed9e02310f0ff 100644
> --- a/xf86drmHash.c
> +++ b/xf86drmHash.c
> @@ -105,7 +105,6 @@ static unsigned long HashHash(unsigned long key)
>  drm_public void *drmHashCreate(void)
>  {
>      HashTablePtr table;
> -    int          i;
>  
>      table           = drmMalloc(sizeof(*table));
>      if (!table) return NULL;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181107/50ca83cf/attachment.sig>


More information about the dri-devel mailing list