diff --git a/src/rx/xdr_mem.c b/src/rx/xdr_mem.c index 94e618bb5e..ae849f521b 100644 --- a/src/rx/xdr_mem.c +++ b/src/rx/xdr_mem.c @@ -171,7 +171,7 @@ xdrmem_inline(XDR *xdrs, u_int len) { afs_int32 *buf = 0; - if (len >= 0 && xdrs->x_handy >= len) { + if (xdrs->x_handy >= len) { xdrs->x_handy -= len; buf = (afs_int32 *) xdrs->x_private; xdrs->x_private += len;