From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [memnic PATCH 2/3] pmd: remove useless includes
Date: Thu, 30 Jan 2014 11:30:32 +0000 [thread overview]
Message-ID: <7F861DC0615E0C47A872E6F3C5FCDDBD0102D004@BPXM14GP.gisp.nec.co.jp> (raw)
In-Reply-To: <b96ee2cdb5460abdd4a59dadb8b1ebf8e886ffad.1390580092.git.thomas.monjalon@6wind.com>
> Subject: [memnic PATCH 2/3] pmd: remove useless includes
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> ---
> common/memnic.h | 4 ----
> pmd/pmd_memnic.c | 4 ----
> 2 files changed, 8 deletions(-)
>
> diff --git a/common/memnic.h b/common/memnic.h
> index 6ff38a0..58dd019 100644
> --- a/common/memnic.h
> +++ b/common/memnic.h
> @@ -31,10 +31,6 @@
> #ifndef __MEMNIC_H__
> #define __MEMNIC_H__
>
> -#ifndef __KERNEL__
> -#include <stdint.h>
> -#endif /* __KERNEL__ */
> -
I'm not sure, but you're not seeing error, it's okay.
I put it for uintxx_t series, originally.
others, fine to me.
thanks,
Hiroshi
> #define MEMNIC_MAGIC 0x43494e76
> #define MEMNIC_VERSION 0x00000001
> #define MEMNIC_VERSION_1 0x00000001
> diff --git a/pmd/pmd_memnic.c b/pmd/pmd_memnic.c
> index d16eb0d..619941a 100644
> --- a/pmd/pmd_memnic.c
> +++ b/pmd/pmd_memnic.c
> @@ -30,18 +30,14 @@
> */
>
> #include <rte_ethdev.h>
> -
> #include <rte_string_fns.h>
> #include <rte_malloc.h>
> #include <rte_memcpy.h>
> -#include <rte_log.h>
>
> #include "memnic.h"
>
> #include <sys/mman.h>
> -#include <sys/stat.h>
> #include <fcntl.h>
> -#include <stdio.h>
> #include <unistd.h>
> #include <errno.h>
>
> --
> 1.7.10.4
next prev parent reply other threads:[~2014-01-30 11:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-24 16:18 [dpdk-dev] [memnic PATCH 0/3] cosmetic improvements Thomas Monjalon
2014-01-24 16:18 ` [dpdk-dev] [memnic PATCH 1/3] pmd: remove symlink Thomas Monjalon
2014-01-30 11:22 ` Hiroshi Shimamoto
2014-02-04 13:09 ` Thomas Monjalon
2014-01-24 16:18 ` [dpdk-dev] [memnic PATCH 2/3] pmd: remove useless includes Thomas Monjalon
2014-01-30 11:30 ` Hiroshi Shimamoto [this message]
2014-02-04 13:11 ` Thomas Monjalon
2014-01-24 16:18 ` [dpdk-dev] [memnic PATCH 3/3] common: remove double underscores Thomas Monjalon
2014-01-30 11:32 ` Hiroshi Shimamoto
2014-02-04 13:11 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7F861DC0615E0C47A872E6F3C5FCDDBD0102D004@BPXM14GP.gisp.nec.co.jp \
--to=h-shimamoto@ct.jp.nec.com \
--cc=dev@dpdk.org \
--cc=thomas.monjalon@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).