debug warnings: eliminate warn_on_slowpath()
Impact: cleanup, eliminate code now that warn_on_slowpath() uses warn_slowpath(...,NULL), we can eliminate warn_on_slowpath() altogether and use warn_slowpath(). Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -349,12 +349,6 @@ void warn_slowpath(const char *file, int line, const char *fmt, ...)
|
||||
add_taint(TAINT_WARN);
|
||||
}
|
||||
EXPORT_SYMBOL(warn_slowpath);
|
||||
|
||||
void warn_on_slowpath(const char *file, int line)
|
||||
{
|
||||
warn_slowpath(file, line, NULL);
|
||||
}
|
||||
EXPORT_SYMBOL(warn_on_slowpath);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CC_STACKPROTECTOR
|
||||
|
Fai riferimento in un nuovo problema
Block a user