Ehternet-SD shield (v5.0)

If you are not using the SD card you should be able to use pin 4 for something else. Just don't put an SD card in. However, there are some resistors tied to ground on this pin that limits what you can do with it.

If you are not using the Ethernet pin 10 still has to be setup as an output in order for spi to work.