Removed redundant desc variable

This commit is contained in:
Rahul Garg
2017-11-15 18:28:27 +05:30
parent 4b19c2aa0c
commit ae1eb7a03a
-1
View File
@@ -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);