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:
@@ -601,7 +601,7 @@ gen_spec_load(const struct gen_device_info *devinfo)
|
||||
void *buf;
|
||||
uint8_t *text_data = NULL;
|
||||
uint32_t text_offset = 0, text_length = 0;
|
||||
MAYBE_UNUSED uint32_t total_length;
|
||||
ASSERTED uint32_t total_length;
|
||||
uint32_t gen_10 = devinfo_to_gen(devinfo, true);
|
||||
|
||||
for (int i = 0; i < ARRAY_SIZE(genxml_files_table); i++) {
|
||||
|
||||
Reference in New Issue
Block a user