Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753843AbbD2RBr (ORCPT ); Wed, 29 Apr 2015 13:01:47 -0400 Received: from mailrelay103.isp.belgacom.be ([195.238.20.130]:42668 "EHLO mailrelay103.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753713AbbD2RBq (ORCPT ); Wed, 29 Apr 2015 13:01:46 -0400 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=ZT6Ny9SzQUL0U4sOn6xM6rLbT25dGdPOAe/imaXRw80= c=1 sm=2 a=7GprWIC5ThUSMApiIuoA:9 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2B1EACoDUFV/+PL8VFcgwyBL7QLCAECBQGBAphCgURNAQEBAQEBgQtBBYQILyOBGjeILwHIIIYWiicdhBcFnDKML4lJI2BmAUAcgVM8MYJFAQEB From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Fabian Frederick , Joel Becker Subject: [PATCH 1/1 linux-next] configfs: unexport/make static config_item_init() Date: Wed, 29 Apr 2015 19:01:38 +0200 Message-Id: <1430326898-2992-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1475 Lines: 46 config_item_init() is only used in item.c Signed-off-by: Fabian Frederick --- fs/configfs/item.c | 3 +-- include/linux/configfs.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/configfs/item.c b/fs/configfs/item.c index e65f9ff..4d6a30e 100644 --- a/fs/configfs/item.c +++ b/fs/configfs/item.c @@ -47,12 +47,11 @@ static void config_item_release(struct kref *kref); * config_item_init - initialize item. * @item: item in question. */ -void config_item_init(struct config_item *item) +static void config_item_init(struct config_item *item) { kref_init(&item->ci_kref); INIT_LIST_HEAD(&item->ci_entry); } -EXPORT_SYMBOL(config_item_init); /** * config_item_set_name - Set the name of an item diff --git a/include/linux/configfs.h b/include/linux/configfs.h index 34025df..c9e5c57 100644 --- a/include/linux/configfs.h +++ b/include/linux/configfs.h @@ -71,7 +71,6 @@ static inline char *config_item_name(struct config_item * item) return item->ci_name; } -extern void config_item_init(struct config_item *); extern void config_item_init_type_name(struct config_item *item, const char *name, struct config_item_type *type); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/