mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
intel: Silence unused parameter warnings in files that include gen_device_info.h
src/intel/dev/gen_device_info.h: In function ‘unsigned int gen_device_info_num_dual_subslices(const gen_device_info*)’:
src/intel/dev/gen_device_info.h:311:66: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
311 | gen_device_info_num_dual_subslices(const struct gen_device_info *devinfo)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Reviewed-by: Anuj Phogat anuj.phogat@gmail.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9237>
This commit is contained in:
parent
0da47c4019
commit
b5cf60b75d
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ gen_device_info_eu_available(const struct gen_device_info *devinfo,
|
|||
}
|
||||
|
||||
static inline unsigned
|
||||
gen_device_info_num_dual_subslices(const struct gen_device_info *devinfo)
|
||||
gen_device_info_num_dual_subslices(UNUSED const struct gen_device_info *devinfo)
|
||||
{
|
||||
unreachable("TODO");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue