]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340888
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 21 Dec 2018 16:02:29 +0000 (16:02 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 21 Dec 2018 16:02:29 +0000 (16:02 +0000)
commite539fbe1d611528d9d7861b379103710f3ad59e2
treea127cc48f1cae5faa601eb2522759b210449a68b
parent26df757294b86eef750e054a7e2916221f29ebac
MFC r340888

sfxge(4): fix warnings from VS2015 C compiler (C4100)

Fix multiple level 4 warnings
"C4100: 'xxx': unreferenced formal parameter"
no functional changes.

The _NOTE(ARGUNUSED(xxx)) annotations are being exposed to the Visual
Studio 2015 C compiler with the following:

  #define _NOTE_ARGUNUSED(...) UNREFERENCED_PARAMETER((__VA_ARGS__));
  #define _NOTE(_annotation)   _NOTE_ ## _annotation

Submitted by:   Andrew Lee <alee at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D18122
sys/dev/sfxge/common/ef10_nvram.c
sys/dev/sfxge/common/ef10_rx.c
sys/dev/sfxge/common/ef10_tx.c
sys/dev/sfxge/common/efx_ev.c
sys/dev/sfxge/common/efx_lic.c
sys/dev/sfxge/common/efx_mcdi.c