wan: cosa: drop chan->wsem on error path
authorDan Carpenter <error27@gmail.com>
Sun, 29 Nov 2009 06:02:55 +0000 (06:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2009 08:06:51 +0000 (00:06 -0800)
commit40be261dfd8bfba4baeff40168d44a6a4450ace1
tree8ac8771778d4fbfaa8a1973bccaaea5dc8e1604b
parent3c91c7ae84966f992429e1e128c4936f22b89064
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: Dan Carpenter <error27@gmail.com>
Acked-by: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/cosa.c