Remove useless declaration

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211451 91177308-0d34-0410-b5e6-96231b3b80d8
Simplify the code (variable bValid is not really interesting)

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211452 91177308-0d34-0410-b5e6-96231b3b80d8
Remove useless call

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211454 91177308-0d34-0410-b5e6-96231b3b80d8