Hi @jackk
Not sure what unused services you want to remove.
Below are options for you based on assumption of your question.
1, exclude package or other way you operate in conf/local.conf to remove package, subsequently, no such service in boot image.
2, modify the respective image bb or package bb file to remove those features (suppose there is)
Note, you might need to care about dependencies of the removed service.
Best regards
Harvey