net/hns3: remove duplicate compile-time check