When working with groups in the ShaderFX editor, you may have empty sockets in the group node that you want to remove.
Empty sockets are removed upon saving and reloading the scene, as long as the following conditions are met:
In this example, 0 any is removed automatically upon saving and reloading, while any 0 can only be removed if you move Alternate 1 above any 0. 1 any and any 2 are both retained.
To move up a socket in a group node
The extra empty sockets are removed upon saving and reloading the scene.