[openEuler-21.09 024/141] net: hns3: clean up hns3_dbg_cmd_write()