isdn: hisax: fix frame calculation
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 21 Sep 2015 13:33:49 +0000 (15:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2015 23:14:31 +0000 (16:14 -0700)
commit8f89642fa10bb6ec02feaa8e3d1d62df671d0207
tree6a2959940201d4dea2e94a29e4b7f7a4d1824cc0
parent99cb99aa055a72d3880d8a95a71034c4d64bcf9a
isdn: hisax: fix frame calculation

Difference of unsigned values is also unsigned so it does not make
sense to check its sign.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/hfc4s8s_l1.c