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:
Nick Sayer 2001-08-24 05:47:50 +00:00
parent b915499708
commit 2afcd749c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82258

View File

@ -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);