From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756954AbbA2UBo (ORCPT ); Thu, 29 Jan 2015 15:01:44 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:62210 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248AbbA2UBm (ORCPT ); Thu, 29 Jan 2015 15:01:42 -0500 From: Himanshu Maithani To: trivial@kernel.org Cc: linux-kernel@vger.kernel.org, Himanshu Maithani Subject: [PATCH] stacktrace.h: remove duplicate declaration task_struct Date: Fri, 30 Jan 2015 01:31:14 +0530 Message-Id: <1422561674-22254-1-git-send-email-hmaithani@gmail.com> X-Mailer: git-send-email 1.8.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is duplicate declaration for struct task_struct. One can be removed safely. Signed-off-by: Himanshu Maithani --- 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