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 |
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;
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 --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;
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(-)