diff mbox series

[libdrm] xf86drmHash: remove unused loop variable

Message ID 20181107144442.31025-1-eric.engestrom@intel.com (mailing list archive)
State New, archived
Headers show
Series [libdrm] xf86drmHash: remove unused loop variable | expand

Commit Message

Eric Engestrom Nov. 7, 2018, 2:44 p.m. UTC
Reported-by: Jan Vesely <jano.vesely@gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
---
 xf86drmHash.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jan Vesely Nov. 7, 2018, 6:35 p.m. UTC | #1
On Wed, 2018-11-07 at 14:44 +0000, Eric Engestrom wrote:
> Reported-by: Jan Vesely <jano.vesely@gmail.com>
> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>

LGTM.
Reviewed-by: Jan Vesely <jan.vesely@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;
Emil Velikov Dec. 17, 2018, 5:59 p.m. UTC | #2
On Wed, 7 Nov 2018 at 14:44, Eric Engestrom <eric.engestrom@intel.com> wrote:
>
> Reported-by: Jan Vesely <jano.vesely@gmail.com>
> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

-Emil
diff mbox series

Patch

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;