wan: cosa: drop chan->wsem on error path
The other paths all drop chan->wsem. This was found by a static checker (smatch). Signed-off-by: NDan Carpenter <error27@gmail.com> Acked-by: NJan "Yenya" Kasprzak <kas@fi.muni.cz> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录