tools: Remove redundant check for request size in make_requests.

Sebastian Lackner sebastian at fds-team.de
Tue Dec 22 20:09:39 CST 2015


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

The same check is already a couple of lines before, without changing
any variables inbetween.

 tools/make_requests |    1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/make_requests b/tools/make_requests
index bceef70..6e4a537 100755
--- a/tools/make_requests
+++ b/tools/make_requests
@@ -171,7 +171,6 @@ sub PARSE_REQUESTS()
             print SERVER_PROT "};\n";
             print SERVER_PROT "struct ${name}_reply\n{\n";
             print SERVER_PROT "    struct reply_header __header;\n";
-            die "request $name too large ($offset)" if ($offset > $max_req_size);
             $offset = 8;
             $state++;
             next;
-- 
2.6.4



More information about the wine-patches mailing list