Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/30410 )
Change subject: Fix -Wunused-parameter issues ......................................................................
Patch Set 5:
Are there any of these parameters that could be deleted, or were they all needed?
I removed unused parameters from static functions. Didn't check the APIs, though.
Much of the noise seems to be due to the usage of global variables, btw. Can't say how often I wrote `(void)flash;`, where `flash` is a reference to the context that was unused and something global instead. Sooner or later, those should be cleaned up anyway. If we take libflashrom serious.