Index: uspace/lib/c/arch/ppc32/src/tls.c
===================================================================
--- uspace/lib/c/arch/ppc32/src/tls.c	(revision 0e9b512035036713c382370cb570a3881afa4209)
+++ uspace/lib/c/arch/ppc32/src/tls.c	(revision e515a82717878d1a0549c75f5eebb3a907f2f15d)
@@ -1,5 +1,4 @@
 /*
  * Copyright (c) 2006 Ondrej Palkovsky
- * Copyright (c) 2008 Jiri Svoboda
  * All rights reserved.
  *
@@ -35,5 +34,4 @@
 
 #include <tls.h>
-#include <align.h>
 #include <sys/types.h>
 
@@ -48,37 +46,4 @@
 }
 
-/*
-static void kputint(unsigned i)
-{
-	asm volatile (
-		"mr %%r3, %0\n"
-		"li %%r9, 32\n"
-		"sc\n"
-		:
-		: "r" (i)
-		: "%r3","%r9"
-	) ;
-}
-*/
-
-typedef struct {
-	unsigned long int ti_module;
-	unsigned long int ti_offset;
-} tls_index;
-
-void *__tls_get_addr(tls_index *ti);
-
-/* ppc32 uses TLS variant 1 */
-void *__tls_get_addr(tls_index *ti)
-{
-	uint8_t *tls;
-
-	/* The TLS section is just after TCB */
-	tls = (uint8_t *)__tcb_get() + sizeof(tcb_t);
-
-	/* Hopefully this is right. No docs found. */
-	return tls + ti->ti_offset + 32768;
-}
-
 /** @}
  */
