coverity#1157772 Logically dead code

Change-Id: I4eda11bdeda2e9f2e7d124d19ba051fafc846321
coverity#1078520 Logically dead code

Change-Id: I91ff819bbbca9f74236bcec725b98f8065a84a50
coverity#1078506 troubling Logically dead code

Change-Id: I9687ab7340e9c9ab45ff4dd27eb53e671492e7b5
bRefSizeChanged is always false

Change-Id: I2f27e55a11f972374e7ef0d007a69f3cfb92a7bb