Deleting Empty Layers

Right-click in the Layers panel and select Remove Empty Layers.