From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755480AbcEXLJY (ORCPT ); Tue, 24 May 2016 07:09:24 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33559 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754577AbcEXLJW (ORCPT ); Tue, 24 May 2016 07:09:22 -0400 From: Nicolai Stange To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Nicolai Stange Subject: [PATCH 1/3] debugfs: remove extra debugfs_create_file_unsafe() declaration Date: Tue, 24 May 2016 13:08:52 +0200 Message-Id: <1464088134-6001-2-git-send-email-nicstange@gmail.com> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1464088134-6001-1-git-send-email-nicstange@gmail.com> References: <1464088134-6001-1-git-send-email-nicstange@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org debugfs_create_file_unsafe() is declared twice in exactly the same manner each: once in fs/debugfs/internal.h and once in include/linux/debugfs.h All files that include the former also include the latter and thus, the declaration in fs/debugfs/internal.h is superfluous. Remove it. Signed-off-by: Nicolai Stange --- fs/debugfs/internal.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/debugfs/internal.h b/fs/debugfs/internal.h index bba5263..b3e8443 100644 --- a/fs/debugfs/internal.h +++ b/fs/debugfs/internal.h @@ -19,8 +19,4 @@ extern const struct file_operations debugfs_noop_file_operations; extern const struct file_operations debugfs_open_proxy_file_operations; extern const struct file_operations debugfs_full_proxy_file_operations; -struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, - struct dentry *parent, void *data, - const struct file_operations *fops); - #endif /* _DEBUGFS_INTERNAL_H_ */ -- 2.8.2