ring: Mark potentially unused parameters as such
commit35346a6fe682705e36f51534cd5ab54ed7192cbe
authorTobias Klauser <tklauser@distanz.ch>
Wed, 27 Apr 2016 07:46:26 +0000 (27 09:46 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Wed, 27 Apr 2016 07:46:26 +0000 (27 09:46 +0200)
tree66c346b7649c0e000c248440107124c312f60ec9
parentab19a9757695b6a90d73bb3782584e5995195b24
ring: Mark potentially unused parameters as such

The parameters to tpacket_uhdr_vlan_tci() and tpacket_uhdr_vlan_proto()
might be unused, depending on the definition of HAVE_TPACKET3 and
TP_STATUS_VLAN_TPID_VALID. Thus, mark them with __maybe_unused to
prevent -Wunused-parameter warnings.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
ring.h