Skip to contentSkip to conversation

mm/util.c: EXPORT_UNUSED_SYMBOL

PATCH In review Adrian Bunk 2 participants 2 messages Jun 30, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/util.c: EXPORT_UNUSED_SYMBOL

This patch marks an unused export as EXPORT_UNUSED_SYMBOL.

mm/util.c renamed from mm/util.c.old +1 -1
@@ -73,4 +73,4 @@
 
 	return p;
 }
-EXPORT_SYMBOL(strndup_user);
+EXPORT_UNUSED_SYMBOL(strndup_user);  /*  June 2006  */
#1 lore raw

Ar Gwe, 2006-06-30 am 13:32 +0200, ysgrifennodd Adrian Bunk:

mm/util.c line 76

Quoted 3 lines

}

mm/util.c renamed from mm/util.c.old +1 -1
-EXPORT_SYMBOL(strndup_user);
+EXPORT_UNUSED_SYMBOL(strndup_user);  /*  June 2006  */

Adrian, will you please differentiate between symbols which are logically part of an API and symbols that were for some purpose and are not now being used.

This sort of symbol removal/marking is just causing noise and confusion without actually doing anything useful, unlike the many symbols that genuinely were exported for some weird reason and were no longer needed.