From: Chas Williams Date: Tue, 3 Oct 2006 23:28:31 +0000 (-0700) Subject: [ATM]: [zatm] always *pcr in alloc_shaper() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3e0c0ac84c01f41fb266bcdd2802708409901bed;p=linux-beck.git [ATM]: [zatm] always *pcr in alloc_shaper() Signed-off-by: Chas Williams Signed-off-by: David S. Miller --- diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c index c491ec455cac..083c5d3f2e18 100644 --- a/drivers/atm/zatm.c +++ b/drivers/atm/zatm.c @@ -800,6 +800,7 @@ static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) i = m = 1; zatm_dev->ubr_ref_cnt++; zatm_dev->ubr = shaper; + *pcr = 0; } else { if (min) {