The variable cnt is assigned twice in a row, so remove the first one. Coverity-CID: 235962 Fixes #35161 Signed-off-by: Daniel Leung <daniel.leung@intel.com>