899057c710
Remove redundant set of preprocessor directives and combine duplicate if statements.
Remove redundant set of preprocessor directives and combine duplicate if statements.