[IrDA] af_irda: IRDA_ASSERT cleanups
authorSamuel Ortiz <samuel@ortiz.org>
Sat, 21 Apr 2007 05:10:13 +0000 (22:10 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:30 +0000 (22:29 -0700)
commitc3ea9fa2741320f9cade15efe10559b549af4ebf
treefa20974812a9ea41a80e2090df82d26fefaa8cb5
parentd7f48d1a9398a3bd7bb6f4774640b24a0294cda3
[IrDA] af_irda: IRDA_ASSERT cleanups

In af_irda.c, the multiple IRDA_ASSERT() are either hiding bugs, useless, or
returning the wrong value.
Let's clean that up.

Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/af_irda.c