intel_telemetry_pltdrv: Silence an uninitialized variable warning
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Apr 2016 14:45:58 +0000 (17:45 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 15 Apr 2016 15:26:41 +0000 (08:26 -0700)
commitd0192dca2d6b64c043db5babb40076d13a6e955b
tree6f6b2ac630bae4425d73fc8c288562c3dfe77639
parentff22b4806dd79ba06c78255b67e73c10e34d47cc
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_telemetry_pltdrv.c