Linux - remove unused code