Remove needless error check