commit | f74ae6869a7a9124c8a5cb5f3f64491d28200cc3 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 27 14:21:17 2010 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 27 14:21:17 2010 +0800 |
tree | d354a116fe3bcbf9fc932076d516721796e74fc5 | |
parent | 1d806ac1fbafb867f6252e184e1be05c0829ab71 [diff] |
[REDIR] Move null redirect checks into caller The null redirect checks were added as an optimisation to avoid unnecessary memory allocations. However, we could avoid this completely by simply making the caller avoid making a redirection unless it is not null. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>