Yes, better to remove unused functions and structs and keep the code clean.