mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 23:28:37 -04:00
Get rid of redundant device_set_desc. Both the PCI and PCCARD versions
do this in the probe routine now.
This commit is contained in:
parent
b915499708
commit
2afcd749c7
1 changed files with 0 additions and 4 deletions
|
|
@ -224,8 +224,6 @@ static const struct pccard_product wi_pccard_products[] = {
|
|||
PCCARD_CIS_LUCENT_WAVELAN_IEEE },
|
||||
};
|
||||
|
||||
static char wi_device_desc[] = "WaveLAN/IEEE 802.11";
|
||||
|
||||
static int wi_pccard_match(dev)
|
||||
device_t dev;
|
||||
{
|
||||
|
|
@ -375,8 +373,6 @@ wi_pci_attach(device_t dev)
|
|||
if (error)
|
||||
return (error);
|
||||
|
||||
device_set_desc(dev, wi_device_desc);
|
||||
|
||||
/* Make sure interrupts are disabled. */
|
||||
CSR_WRITE_2(sc, WI_INT_EN, 0);
|
||||
CSR_WRITE_2(sc, WI_EVENT_ACK, 0xFFFF);
|
||||
|
|
|
|||
Loading…
Reference in a new issue