Using the SD card AND the Ethernet on sheild causes issues

I placed this code in my setup. It did not make any difference. I dont understand what it should do. Could you explain why this should work