Remove needless EOF check
diff --git a/tomli/_parser.py b/tomli/_parser.py
index 208cea8..00d8297 100644
--- a/tomli/_parser.py
+++ b/tomli/_parser.py
@@ -404,10 +404,7 @@
 
         skip_comments_and_array_ws(state)
 
-        c = state.try_char()
-        if not c:
-            raise TOMLDecodeError("Unclosed array")
-        if c == "]":
+        if state.try_char() == "]":
             state.pos += 1
             return array