compositor: Make code a bit more understandable
compositor: Kill unused variable