aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl/ixl_txrx.c
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2017-07-14 00:10:51 +0000
committerRyan Libby <rlibby@FreeBSD.org>2017-07-14 00:10:51 +0000
commit33c66d8aebf76dd0436843e887133b810bb93c71 (patch)
tree1dbcbb95657603d56be6d5036d80dd9d2dd857d9 /sys/dev/ixl/ixl_txrx.c
parent314b447f66686f50fd26f3efe21d098060417c6d (diff)
downloadsrc-33c66d8aebf76dd0436843e887133b810bb93c71.tar.gz
src-33c66d8aebf76dd0436843e887133b810bb93c71.zip
ixl: gcc build errors
Fix minor -Werror issues when building with gcc from -Wredundant-decls, -Wunused, -Wbool-operations. Also ensure the M_IXL malloc type is only defined once. Reviewed by: efj Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D11414
Notes
Notes: svn path=/head/; revision=320977
Diffstat (limited to 'sys/dev/ixl/ixl_txrx.c')
-rw-r--r--sys/dev/ixl/ixl_txrx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ixl/ixl_txrx.c b/sys/dev/ixl/ixl_txrx.c
index 7cd3ebbf6690..fb97cd463fe0 100644
--- a/sys/dev/ixl/ixl_txrx.c
+++ b/sys/dev/ixl/ixl_txrx.c
@@ -63,8 +63,6 @@ static inline void ixl_rx_input(struct rx_ring *, struct ifnet *,
struct mbuf *, u8);
static inline bool ixl_tso_detect_sparse(struct mbuf *mp);
-static int ixl_tx_setup_offload(struct ixl_queue *que,
- struct mbuf *mp, u32 *cmd, u32 *off);
static inline u32 ixl_get_tx_head(struct ixl_queue *que);
#ifdef DEV_NETMAP