Remove unused variable.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
Fix warning: 'len' may be used uninitialized in this function

Signed-off-by: Chris Michael <devilhorns@comcast.net>
Fix  warning: comparison between signed and unsigned integer expressions

Signed-off-by: Chris Michael <devilhorns@comcast.net>
fix compilation without eldbus