Many of the constants aren't used. Also, the patch removes #includes of this header that aren't necessary.
Only three of them are used, and those ones aren't used in many places, and they're just renamings of NS_ERROR_* values that obfuscate more than they clarify.