diff options
author | Dave Jones <davej@redhat.com> | 2005-11-10 15:55:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-10 15:55:52 -0500 |
commit | b925556cc9e82b32ab68a7620b247f47193501a7 (patch) | |
tree | a83d5a008bc05143b689bca219ee408b10c43457 /drivers/atm/horizon.c | |
parent | a46699c9a32505cb5bbfd16f76e7d4a2c84a7705 (diff) |
[ATM]: [horizon] fix sparse warnings
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Chas Williams <cmas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/horizon.c')
-rw-r--r-- | drivers/atm/horizon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index 0cded0468003..821c81e8cd38 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c | |||
@@ -1511,8 +1511,8 @@ static inline short setup_idle_tx_channel (hrz_dev * dev, hrz_vcc * vcc) { | |||
1511 | // a.k.a. prepare the channel and remember that we have done so. | 1511 | // a.k.a. prepare the channel and remember that we have done so. |
1512 | 1512 | ||
1513 | tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; | 1513 | tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; |
1514 | u16 rd_ptr; | 1514 | u32 rd_ptr; |
1515 | u16 wr_ptr; | 1515 | u32 wr_ptr; |
1516 | u16 channel = vcc->channel; | 1516 | u16 channel = vcc->channel; |
1517 | 1517 | ||
1518 | unsigned long flags; | 1518 | unsigned long flags; |