remove redundant parentheses in sample code

remove redundant parentheses in sample code