rds:Remove unnecessary ib_ring unalloc
authorZhu Yanjun <yanjun.zhu@oracle.com>
Fri, 17 Feb 2017 09:16:22 +0000 (04:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 20:19:51 +0000 (15:19 -0500)
commitd2c58294f5416467ae0c5d00675bce3cd19595dd
tree24e67fe61cf1de67b0b939bca6f0cbc21ab9e1a8
parent3b4735281f67b0aa62bf74c8a1a7758c17f7158d
rds:Remove unnecessary ib_ring unalloc

In the function rds_ib_xmit_atomic, ib_ring is not allocated
successfully. As such, it is not necessary to unalloc it.

Cc: Joe Jin <joe.jin@oracle.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_send.c