diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-08-23 13:28:27 +0200 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 07:45:25 +0200 |
commit | 959fd992f05b7468bf30d759ac0c9fd0ef0fa80b (patch) | |
tree | 936a599345610ce11d5070e17dc6a72f0949285e /drivers/ata/pata_sch.c | |
parent | 432649916b0435b608fb3e1fcb97347ac294d38d (diff) |
dccp ccid-3: Replace lazy BUG_ON with condition
The BUG_ON(w_tot == 0) only holds if there is no more than 1 loss interval in
the loss history. If there is only a single loss interval, the calc_i_mean()
routine need in fact not be called (RFC 3448, 6.3.1).
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'drivers/ata/pata_sch.c')
0 files changed, 0 insertions, 0 deletions