Remove unnecessary comment and local variable

This commit is contained in:
Dhruv Maroo 2022-05-16 02:51:16 +05:30
parent cf8d063626
commit 8ad52df897
No known key found for this signature in database
GPG Key ID: 9ED1310EE7C2F034

View File

@ -35,13 +35,10 @@
//
NvU32 nvLogBase2(NvU64 val)
{
// Use two NV_ASSERTs for better error identification
NV_ASSERT(val != 0);
NV_ASSERT(((val) & (val - 1)) == 0);
NvU32 i = portUtilCountTrailingZeros64(val);
return i;
return portUtilCountTrailingZeros64(val);
}