cleanup: partition_info::check_constants
partition_info had a bunch of function pointers to avoid if()'s when invoking part_type specific functionality (like get_part_id, etc). But check_range_constants() and check_list_constants() were still invoked conditionally, with if()'s. Create partition_info::check_constants function pointer, get rid of if()'s Also remove alloc argument of check_range_constants(), added in 26a3ff0a. Broken system versioning will be fixed in following commits.
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment