Case ... is it necessary?

I am trying to save some weight on my quad so I was thinking to get rid of the Pixhawk case. Do you think I should cut the little box with foam located on the barometer or it’s enough sticking the foam with some glue? Anyone is flying with no case?
Thanks for your help