How long does it take for iPhone 4 to be reset?

I jailbroke my iPhone 4 on iOS 5.1.1 with redsn0w and I didnt want the jailbreak so i went to settings and did erase all settings and contents… Now it just has the loading thing for the past 30-40 minutes! What do I do?!

Happened to me once, i assumed the phone got hanged and i hard reset the phone. You can do that by holding the home and the power button until you see the apple logo on your screen. You can repeat the erase all settings and content process after youve reset your device.