Fixed warnings about unused function and constants

Change-Id: I1a2efb208875aa8e93f56aa92d03f5f6a96a729f
Merge topic 'dashboard-warnngs' into master

a56e2435 Fixed warnings about unused function and constants