* refsymname = *.constprop.*
*
**/
-static int secref_whitelist(const struct sectioncheck *mismatch,
- const char *fromsec, const char *fromsym,
+static int secref_whitelist(const char *fromsec, const char *fromsym,
const char *tosec, const char *tosym)
{
/* Check for pattern 1 */
tosym = sym_name(elf, to);
/* check whitelist - we may ignore it */
- if (!secref_whitelist(mismatch, fromsec, fromsym, tosec, tosym))
+ if (!secref_whitelist(fromsec, fromsym, tosec, tosym))
return;
sec_mismatch_count++;