SUNRPC: remove an unnecessary if statement
authorwangweidong <wangweidong1@huawei.com>
Tue, 15 Oct 2013 03:44:30 +0000 (11:44 +0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 22:16:56 +0000 (18:16 -0400)
commit8313164c36473193c8034de643dc32f35a22bf59
treec900e38098f5985b64056dad222cc6f1bc80c333
parent6706246b22358b70b49e35a988a9bbfa830619ee
SUNRPC: remove an unnecessary if statement

If req allocated failed just goto out_free, no need to check the
'i < num_prealloc'. There is just code simplification, no
functional changes.

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c