tree-wide: replace MAYBE_UNUSED with ASSERTED
Suggested-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -345,7 +345,7 @@ REG_TYPE(src2)
|
||||
* @{
|
||||
*/
|
||||
static inline uint16_t
|
||||
brw_inst_3src_a1_src0_imm(MAYBE_UNUSED const struct gen_device_info *devinfo,
|
||||
brw_inst_3src_a1_src0_imm(ASSERTED const struct gen_device_info *devinfo,
|
||||
const brw_inst *insn)
|
||||
{
|
||||
assert(devinfo->gen >= 10);
|
||||
@@ -353,7 +353,7 @@ brw_inst_3src_a1_src0_imm(MAYBE_UNUSED const struct gen_device_info *devinfo,
|
||||
}
|
||||
|
||||
static inline uint16_t
|
||||
brw_inst_3src_a1_src2_imm(MAYBE_UNUSED const struct gen_device_info *devinfo,
|
||||
brw_inst_3src_a1_src2_imm(ASSERTED const struct gen_device_info *devinfo,
|
||||
const brw_inst *insn)
|
||||
{
|
||||
assert(devinfo->gen >= 10);
|
||||
@@ -361,7 +361,7 @@ brw_inst_3src_a1_src2_imm(MAYBE_UNUSED const struct gen_device_info *devinfo,
|
||||
}
|
||||
|
||||
static inline void
|
||||
brw_inst_set_3src_a1_src0_imm(MAYBE_UNUSED const struct gen_device_info *devinfo,
|
||||
brw_inst_set_3src_a1_src0_imm(ASSERTED const struct gen_device_info *devinfo,
|
||||
brw_inst *insn, uint16_t value)
|
||||
{
|
||||
assert(devinfo->gen >= 10);
|
||||
@@ -369,7 +369,7 @@ brw_inst_set_3src_a1_src0_imm(MAYBE_UNUSED const struct gen_device_info *devinfo
|
||||
}
|
||||
|
||||
static inline void
|
||||
brw_inst_set_3src_a1_src2_imm(MAYBE_UNUSED const struct gen_device_info *devinfo,
|
||||
brw_inst_set_3src_a1_src2_imm(ASSERTED const struct gen_device_info *devinfo,
|
||||
brw_inst *insn, uint16_t value)
|
||||
{
|
||||
assert(devinfo->gen >= 10);
|
||||
@@ -814,7 +814,7 @@ brw_inst_imm_ud(const struct gen_device_info *devinfo, const brw_inst *insn)
|
||||
}
|
||||
|
||||
static inline uint64_t
|
||||
brw_inst_imm_uq(MAYBE_UNUSED const struct gen_device_info *devinfo,
|
||||
brw_inst_imm_uq(ASSERTED const struct gen_device_info *devinfo,
|
||||
const brw_inst *insn)
|
||||
{
|
||||
assert(devinfo->gen >= 8);
|
||||
|
Reference in New Issue
Block a user