summaryrefslogtreecommitdiff
path: root/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'ring.h')
-rw-r--r--ring.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ring.h b/ring.h
index 971e8de..1886781 100644
--- a/ring.h
+++ b/ring.h
@@ -48,7 +48,8 @@ union tpacket_uhdr {
(((hdr).h2)->member)
#endif /* HAVE_TPACKET3 */
-static inline uint16_t tpacket_uhdr_vlan_tci(union tpacket_uhdr *hdr, bool v3)
+static inline uint16_t tpacket_uhdr_vlan_tci(union tpacket_uhdr *hdr __maybe_unused,
+ bool v3 __maybe_unused)
{
#ifdef HAVE_TPACKET3
if (v3)
@@ -57,7 +58,8 @@ static inline uint16_t tpacket_uhdr_vlan_tci(union tpacket_uhdr *hdr, bool v3)
return 0;
}
-static inline uint16_t tpacket_uhdr_vlan_proto(union tpacket_uhdr *hdr, bool v3)
+static inline uint16_t tpacket_uhdr_vlan_proto(union tpacket_uhdr *hdr __maybe_unused,
+ bool v3 __maybe_unused)
{
#if defined(HAVE_TPACKET3) && defined(TP_STATUS_VLAN_TPID_VALID)
if (v3)
4'>diff)
Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kconfig update from Michal Marek: - fix for behavior of tristate choice items and fix for documentation of existing kconfig behavior [Dirk Gouders] - more helpful "unexpected data" kconfig warning [Paul Bolle] * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: kconfig/symbol.c: handle choice_values that depend on 'm' symbols kconfig-language: elaborate on the type of a choice kconfig-language: fix comment on dependency-generated menu structures. kconfig: add unexpected data itself to warning
Diffstat (limited to 'Documentation/translations/zh_CN')