caif: Remove bad WARN_ON in caif_dev
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Tue, 17 Jan 2012 03:03:14 +0000 (03:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2012 15:46:55 +0000 (10:46 -0500)
commit59f608d84f937cb5e2fd3a0b9f848f200d47ba85
tree1f2e58895a410e494c910176f401cea24dabff7d
parent3371bb3f7ed11b7b7473a202e2713bde50dc01c0
caif: Remove bad WARN_ON in caif_dev

Remove WARN_ON and bad handling of SKB without destructor callback
in caif_flow_cb. SKB without destructor cannot be handled as an
error case.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_dev.c