Skip to contentSkip to conversation

xf86drmHash: remove unused loop variable

PATCH In review Eric Engestrom 3 participants 3 messages Nov 7, 2018 – Dec 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xf86drmHash: remove unused loop variable

---
 xf86drmHash.c | 1 -
 1 file changed, 1 deletion(-)
xf86drmHash.c +0 -1
index 891b732632c36d373ac9..2cf2b80ed9e02310f0ff 100644
@@ -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;
Signature · 7 lines
Cheers,
  Eric

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Eric Engestrom

LGTM.

Jan

Quoted 9 lines
---
 xf86drmHash.c | 1 -
 1 file changed, 1 deletion(-)
xf86drmHash.c +0 -0
index 891b732632c36d373ac9..2cf2b80ed9e02310f0ff 100644

xf86drmHash.c static unsigned long HashHash(unsigned long key) · line 110

Quoted 7 lines
xf86drmHash.c +0 -1
@@ -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;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel