A green function approach to shear viscosity coefficient