]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6b1cc0e1ca06f9a4d90198cd05ee7b34888226d
tree24e67fe61cf1de67b0b939bca6f0cbc21ab9e1a8
parent6ed6c0afbffdcea49a2a111ae769b6c084ef6f16
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