[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>
This commit is contained in:
parent
a46699c9a3
commit
b925556cc9
1 changed files with 2 additions and 2 deletions
|
@ -1511,8 +1511,8 @@ static inline short setup_idle_tx_channel (hrz_dev * dev, hrz_vcc * vcc) {
|
||||||
// a.k.a. prepare the channel and remember that we have done so.
|
// a.k.a. prepare the channel and remember that we have done so.
|
||||||
|
|
||||||
tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel];
|
tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel];
|
||||||
u16 rd_ptr;
|
u32 rd_ptr;
|
||||||
u16 wr_ptr;
|
u32 wr_ptr;
|
||||||
u16 channel = vcc->channel;
|
u16 channel = vcc->channel;
|
||||||
|
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
Loading…
Reference in a new issue