Remove memcmp call