From e2e499461ab3df213d28bb50bea6ecdd552d6ca6 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 15 Nov 2017 18:28:27 +0530 Subject: [PATCH] Removed redundant desc variable --- hipamd/src/hip_texture.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/hipamd/src/hip_texture.cpp b/hipamd/src/hip_texture.cpp index 21c6d3c469..b91d1dd494 100644 --- a/hipamd/src/hip_texture.cpp +++ b/hipamd/src/hip_texture.cpp @@ -752,7 +752,6 @@ hipError_t hipTexRefSetAddress( size_t* offset, textureReference* tex, hipDevice { HIP_INIT_API(offset, tex, devPtr, size); hipError_t hip_status = hipSuccess; - //hipChannelFormatDesc desc; // TODO: hipReadModeElementType is default. hip_status = ihipBindTextureImpl(hipTextureType1D, hipReadModeElementType, offset, devPtr, NULL, size, tex);