How to factory reset a Gingerbread device?
If it's running CyanogenMod then it likely has a custom recovery loaded on it already. Just boot into it, wipe data / factory reset and wipe internal storage.