Skip to content
Commit d0192dca authored by Dan Carpenter's avatar Dan Carpenter Committed by Darren Hart
Browse files

intel_telemetry_pltdrv: Silence an uninitialized variable warning



Presumably "pss_period" and "ioss_period" can't both be zero, but this
function is never called so we can't infer that using static analysis
alone.

Silence the warning by setting "ret" to zero.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent ff22b480
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment