summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_stats.c
diff options
context:
space:
mode:
authorNĂ©lio Laranjeiro <nelio.laranjeiro@6wind.com>2017-08-23 10:15:09 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2017-10-06 02:49:47 +0200
commitd052f5358b0c3120c0827275d83a8b82c8023033 (patch)
treef9295ebe63f847b4686817d43f954395485859c8 /drivers/net/mlx5/mlx5_stats.c
parent7618b7e64302b1dd8fe3fd2427b89b32c71e6815 (diff)
downloaddpdk-d052f5358b0c3120c0827275d83a8b82c8023033.zip
dpdk-d052f5358b0c3120c0827275d83a8b82c8023033.tar.gz
dpdk-d052f5358b0c3120c0827275d83a8b82c8023033.tar.xz
net/mlx5: remove pedantic pragma
Those are useless since DPDK headers have been cleaned up. Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_stats.c')
-rw-r--r--drivers/net/mlx5/mlx5_stats.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/mlx5/mlx5_stats.c b/drivers/net/mlx5/mlx5_stats.c
index 703f48c..7b45c8c 100644
--- a/drivers/net/mlx5/mlx5_stats.c
+++ b/drivers/net/mlx5/mlx5_stats.c
@@ -34,16 +34,9 @@
#include <linux/sockios.h>
#include <linux/ethtool.h>
-/* DPDK headers don't like -pedantic. */
-#ifdef PEDANTIC
-#pragma GCC diagnostic ignored "-Wpedantic"
-#endif
#include <rte_ethdev.h>
#include <rte_common.h>
#include <rte_malloc.h>
-#ifdef PEDANTIC
-#pragma GCC diagnostic error "-Wpedantic"
-#endif
#include "mlx5.h"
#include "mlx5_rxtx.h"