mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.30-rc2
Date: Sat, 26 Mar 2005 12:22:56 +0100	[thread overview]
Message-ID: <20050326112256.GN30052@alpha.home.local> (raw)
In-Reply-To: <20050326004631.GC17637@logos.cnet>

Marcelo,

here's a patch from Dave Jones, which is already in 2.6 and which I've
used in my local tree for 6 months now. It removes a useless NULL check
in zlib_inflateInit2_(), since 'z' is already dereferenced one line
before the test. Can in go in 2.4.30 please ?

Thanks,
Willy

--- ./lib/zlib_inflate/inflate.c.orig	Tue Jan  7 15:50:49 2003
+++ ./lib/zlib_inflate/inflate.c	Sat Sep 18 17:30:59 2004
@@ -50,8 +50,6 @@
       return Z_VERSION_ERROR;
 
   /* initialize state */
-  if (z == Z_NULL)
-    return Z_STREAM_ERROR;
   z->msg = Z_NULL;
   z->state = &WS(z)->internal_state;
   z->state->blocks = Z_NULL;


  parent reply	other threads:[~2005-03-26 11:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-26  0:46 Marcelo Tosatti
2005-03-26 10:42 ` Willy Tarreau
2005-03-26 10:50 ` Willy Tarreau
2005-03-26 10:59 ` Willy Tarreau
2005-03-26 21:41   ` David S. Miller
2005-03-26 11:22 ` Willy Tarreau [this message]
2005-03-26 11:44   ` Arjan van de Ven
2005-03-26 12:27     ` Willy Tarreau
2005-03-26 16:07     ` Marcelo Tosatti
2005-03-26 11:34 ` Willy Tarreau
2005-03-26 11:46   ` Arjan van de Ven
2005-03-26 12:29     ` Willy Tarreau
2005-03-27 17:50   ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050326112256.GN30052@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®