kni: fix build with gcc 6.1
[dpdk.git] / lib / librte_eal / linuxapp / kni / ethtool / ixgbe / ixgbe_main.c
index 75b3663..92fc9fc 100644 (file)
@@ -59,8 +59,6 @@
 #undef CONFIG_DCA_MODULE
 
 char ixgbe_driver_name[] = "ixgbe";
-static const char ixgbe_driver_string[] =
-                             "Intel(R) 10 Gigabit PCI Express Network Driver";
 #define DRV_HW_PERF
 
 #ifndef CONFIG_IXGBE_NAPI
@@ -79,8 +77,6 @@ static const char ixgbe_driver_string[] =
 #define DRV_VERSION    __stringify(MAJ) "." __stringify(MIN) "." \
                        __stringify(BUILD) DRIVERNAPI DRV_HW_PERF FPGA VMDQ_TAG
 const char ixgbe_driver_version[] = DRV_VERSION;
-static const char ixgbe_copyright[] =
-                               "Copyright (c) 1999-2012 Intel Corporation.";
 
 /* ixgbe_pci_tbl - PCI Device ID Table
  *
@@ -2279,7 +2275,7 @@ static int ixgbe_set_mac(struct net_device *netdev, void *p)
        /* set the correct pool for the new PF MAC address in entry 0 */
        ret = ixgbe_add_mac_filter(adapter, hw->mac.addr,
                                    adapter->num_vfs);
-       return (ret > 0 ? 0 : ret);
+       return ret > 0 ? 0 : ret;
 }