patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 17.11] net/enic: remove useless include
@ 2019-03-11  7:55 Hyong Youb Kim
  2019-03-12 22:08 ` Yongseok Koh
  0 siblings, 1 reply; 2+ messages in thread
From: Hyong Youb Kim @ 2019-03-11  7:55 UTC (permalink / raw)
  To: stable, Yongseok Koh; +Cc: Hyong Youb Kim

[ backported from upstream commit a1c40a3a3bcb45f70006c037a2baded192e5bdb9 ]

libgen.h is not used, so do not include it.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
---
 drivers/net/enic/enic_clsf.c | 2 --
 drivers/net/enic/enic_main.c | 1 -
 2 files changed, 3 deletions(-)

diff --git a/drivers/net/enic/enic_clsf.c b/drivers/net/enic/enic_clsf.c
index 9b461424b..c76af0d10 100644
--- a/drivers/net/enic/enic_clsf.c
+++ b/drivers/net/enic/enic_clsf.c
@@ -32,8 +32,6 @@
  *
  */
 
-#include <libgen.h>
-
 #include <rte_ethdev.h>
 #include <rte_malloc.h>
 #include <rte_hash.h>
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index f946abf20..2e3fc67ae 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -37,7 +37,6 @@
 #include <sys/stat.h>
 #include <sys/mman.h>
 #include <fcntl.h>
-#include <libgen.h>
 
 #include <rte_pci.h>
 #include <rte_bus_pci.h>
-- 
2.16.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH 17.11] net/enic: remove useless include
  2019-03-11  7:55 [dpdk-stable] [PATCH 17.11] net/enic: remove useless include Hyong Youb Kim
@ 2019-03-12 22:08 ` Yongseok Koh
  0 siblings, 0 replies; 2+ messages in thread
From: Yongseok Koh @ 2019-03-12 22:08 UTC (permalink / raw)
  To: Hyong Youb Kim; +Cc: stable


> On Mar 11, 2019, at 12:55 AM, Hyong Youb Kim <hyonkim@cisco.com> wrote:
> 
> [ backported from upstream commit a1c40a3a3bcb45f70006c037a2baded192e5bdb9 ]
> 
> libgen.h is not used, so do not include it.
> 
> Fixes: fefed3d1e62c ("enic: new driver")
> 
> Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
> ---

applied to stable/17.11

Thanks,
Yongseok

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-12 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11  7:55 [dpdk-stable] [PATCH 17.11] net/enic: remove useless include Hyong Youb Kim
2019-03-12 22:08 ` Yongseok Koh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).