ioat: don't specify inline for function with variable argument list

Modern GCC and Clang simply ignore the qualifier, while the old base GCC
produces a warning (treated as an error in the kernel build).

Approved by:	cem
MFC after:	5 days
This commit is contained in:
Andriy Gapon 2017-03-04 12:51:57 +00:00
parent 64a0982bee
commit 1a1406212b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314666

View File

@ -79,7 +79,7 @@ static int g_thread_index = 1;
static struct cdev *g_ioat_cdev = NULL;
#define ioat_test_log(v, ...) _ioat_test_log((v), "ioat_test: " __VA_ARGS__)
static inline void _ioat_test_log(int verbosity, const char *fmt, ...);
static void _ioat_test_log(int verbosity, const char *fmt, ...);
static void
ioat_test_transaction_destroy(struct test_transaction *tx)
@ -579,7 +579,7 @@ ioat_test_detach(void)
mtx_unlock(&Giant);
}
static inline void
static void
_ioat_test_log(int verbosity, const char *fmt, ...)
{
va_list argp;