smbd: Remove an unnecessary else
[samba.git] / source3 / smbd / smb2_trans2.c
index c3c2f569bec9e05dd70d775002dce59415a7aa88..3c44a97d74c489b53d6caa0a84710640081b6853 100644 (file)
@@ -458,7 +458,8 @@ static NTSTATUS get_ea_list_from_fsp(TALLOC_CTX *mem_ctx,
                         */
                        TALLOC_FREE(listp);
                        continue;
-               } else if (listp->ea.value.length > 65536) {
+               }
+               if (listp->ea.value.length > 65536) {
                        /*
                         * SMB clients may report error with file
                         * if large EA is presented to them.