public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Guo Zhengkui <guozhengkui@vivo.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Jiri Olsa <jolsa@redhat.com>, Namhyung Kim <namhyung@kernel.org>,
	"open list:PERFORMANCE EVENTS SUBSYSTEM" 
	<linux-perf-users@vger.kernel.org>,
	"open list:PERFORMANCE EVENTS SUBSYSTEM" 
	<linux-kernel@vger.kernel.org>,
	kernel@vivo.com
Subject: Re: [PATCH] perf daemon: Remove a duplicate #include
Date: Fri, 8 Oct 2021 15:16:22 -0300	[thread overview]
Message-ID: <YWCK9mHs9vTwynfo@kernel.org> (raw)
In-Reply-To: <20211006062235.6364-1-guozhengkui@vivo.com>

Em Wed, Oct 06, 2021 at 02:22:34PM +0800, Guo Zhengkui escreveu:
> There is a "#include <sys/file.h>" in line 10, so remove a duplicate
> one in line 1124.

Thanks, applied.

- Arnaldo

 
> Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
> ---
>  tools/perf/builtin-daemon.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/tools/perf/builtin-daemon.c b/tools/perf/builtin-daemon.c
> index c13201fb09c3..6cb3f6cc36d0 100644
> --- a/tools/perf/builtin-daemon.c
> +++ b/tools/perf/builtin-daemon.c
> @@ -1121,8 +1121,6 @@ static int setup_config(struct daemon *daemon)
>  #ifndef F_TLOCK
>  #define F_TLOCK 2
>  
> -#include <sys/file.h>
> -
>  static int lockf(int fd, int cmd, off_t len)
>  {
>  	if (cmd != F_TLOCK || len != 0)
> -- 
> 2.20.1

-- 

- Arnaldo

      reply	other threads:[~2021-10-08 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06  6:22 [PATCH] perf daemon: Remove a duplicate #include Guo Zhengkui
2021-10-08 18:16 ` Arnaldo Carvalho de Melo [this message]

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=YWCK9mHs9vTwynfo@kernel.org \
    --to=acme@kernel.org \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=guozhengkui@vivo.com \
    --cc=jolsa@redhat.com \
    --cc=kernel@vivo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    /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