[CCID3]: Remove redundant `len' test
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 20 Mar 2007 16:10:15 +0000 (13:10 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:47 +0000 (22:26 -0700)
commit353b13e10a3f1a18c6b33858fb3337bcd2692eb5
treede428797382777f58a30648a64296825f03cd8a5
parent8d13bf9a0bd4984756e234ce54299b92acefab99
[CCID3]: Remove redundant `len' test

Since CCID3 avoids  sending 0-byte data packets (cf. ccid3_hc_tx_send_packet),
testing for zero-payload length, as performed by ccid3_hc_tx_update_s, is
redundant - hence removed by this patch.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid3.c