All of lore.kernel.org
 help / color / mirror / Atom feed
From: Himanshu Maithani <hmaithani@gmail.com>
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org, Himanshu Maithani <hmaithani@gmail.com>
Subject: [PATCH] stacktrace.h: remove duplicate declaration task_struct
Date: Fri, 30 Jan 2015 01:31:14 +0530	[thread overview]
Message-ID: <1422561674-22254-1-git-send-email-hmaithani@gmail.com> (raw)

There is duplicate declaration for struct task_struct.
One can be removed safely.

Signed-off-by: Himanshu Maithani <hmaithani@gmail.com>
---
 include/linux/stacktrace.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h
index 669045a..0a34489 100644
--- a/include/linux/stacktrace.h
+++ b/include/linux/stacktrace.h
@@ -7,8 +7,6 @@ struct task_struct;
 struct pt_regs;
 
 #ifdef CONFIG_STACKTRACE
-struct task_struct;
-
 struct stack_trace {
 	unsigned int nr_entries, max_entries;
 	unsigned long *entries;
-- 
1.8.2


                 reply	other threads:[~2015-01-29 20:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1422561674-22254-1-git-send-email-hmaithani@gmail.com \
    --to=hmaithani@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.