Removed dead code which checked wrong #define