This commit cleans up pylint error:
W0107 unnecessary-pass
Python rules dictate that a pass statement is only needed
if it is the only code in a particular block.
These changes have no runtime impact on the code.
Story: 2004515
Task: 28249
Change-Id: Ib805496c1123708cb67af82458f0b354a7b8e279
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>