In dry frying pan set over medium-high heat, cook walnuts for 5 minutes, stirring often, or until golden and fragrant. Add maple syrup and pear pieces to frying pan; continue to cook for 3 to 4 minutes, stirring gently, or until pears are tender. Transfer mixture to bowl to cool completely.