tty: Fix an ircomm warning and note another bug
authorAlan Cox <alan@redhat.com>
Fri, 2 Jan 2009 13:50:20 +0000 (13:50 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:43 +0000 (10:19 -0800)
commitad36b88e2d22e9ef42797581d3ecea9feadd9488
tree7d06f166763cf7273aa9d784051c1df8f260b7af
parentc847d47cb7b2fa78b17c9e17ed3fbd010ee3d3ca
tty: Fix an ircomm warning and note another bug

Roel Kluin noted that line is unsigned so one test is unneccessary. Also
add a warning for another flaw I noticed while making this change.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/irda/ircomm/ircomm_tty.c