There is no way to remove the restrictions passcode without a restore in iTunes or on the device.
The only way is to backup to iCloud or iTunes and restore all content to the device after the erase.