net: hns3: bugfix for not checking return value