diff --git a/src/util-cuda.c b/src/util-cuda.c index f8aaaf8f37..fbffab5efa 100644 --- a/src/util-cuda.c +++ b/src/util-cuda.c @@ -3289,9 +3289,9 @@ int SCCudaModuleGetGlobal(CUdeviceptr *dptr, unsigned int *bytes, CUmodule hmod, { CUresult result = 0; - if (dptr == NULL || bytes == NULL || name == NULL) { + if (name == NULL) { SCLogError(SC_ERR_INVALID_ARGUMENTS, "Invalid argument supplied. " - "dptr is NULL or bytes is NULL or name is NULL"); + "name is NULL"); goto error; }