mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
liquidio: removed check for queue size alignment
There is no restriction on queue size alignment. Hence removing check for valid queue size. Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c1550fde51
commit
35c7ad3567
1 changed files with 0 additions and 7 deletions
|
@ -77,13 +77,6 @@ int octeon_init_instr_queue(struct octeon_device *oct,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (num_descs & (num_descs - 1)) {
|
|
||||||
dev_err(&oct->pci_dev->dev,
|
|
||||||
"Number of descriptors for instr queue %d not in power of 2.\n",
|
|
||||||
iq_no);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
q_size = (u32)conf->instr_type * num_descs;
|
q_size = (u32)conf->instr_type * num_descs;
|
||||||
|
|
||||||
iq = oct->instr_queue[iq_no];
|
iq = oct->instr_queue[iq_no];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue