From: Marek Olšák Date: Wed, 22 Feb 2017 01:28:36 +0000 (+0100) Subject: gallivm,ac: remove unused FUNC_ATTR_LAST enums X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=408f370710a6f012fcfcb6b4d8b200f722a2ec7f;p=mesa.git gallivm,ac: remove unused FUNC_ATTR_LAST enums Reviewed-by: Jose Fonseca --- diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 1f37a1255a9..93d3d27cae0 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -41,7 +41,6 @@ enum ac_func_attr { AC_FUNC_ATTR_NOUNWIND = (1 << 4), AC_FUNC_ATTR_READNONE = (1 << 5), AC_FUNC_ATTR_READONLY = (1 << 6), - AC_FUNC_ATTR_LAST = (1 << 7) }; LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, bool supports_spill); diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.h b/src/gallium/auxiliary/gallivm/lp_bld_intr.h index f1e075a9b9b..039e9ab8888 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_intr.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.h @@ -54,7 +54,6 @@ enum lp_func_attr { LP_FUNC_ATTR_NOUNWIND = (1 << 4), LP_FUNC_ATTR_READNONE = (1 << 5), LP_FUNC_ATTR_READONLY = (1 << 6), - LP_FUNC_ATTR_LAST = (1 << 7) }; void