Commit e254f6ec authored by Ajit Khaparde's avatar Ajit Khaparde Committed by David S. Miller

be2net: remove unused pci device id

We are not going to use this device id.
Signed-off-by: default avatarAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 830a8a97
...@@ -44,16 +44,14 @@ ...@@ -44,16 +44,14 @@
#define BE_DEVICE_ID1 0x211 #define BE_DEVICE_ID1 0x211
#define BE_DEVICE_ID2 0x221 #define BE_DEVICE_ID2 0x221
#define OC_DEVICE_ID1 0x700 #define OC_DEVICE_ID1 0x700
#define OC_DEVICE_ID2 0x701 #define OC_DEVICE_ID2 0x710
#define OC_DEVICE_ID3 0x710
static inline char *nic_name(struct pci_dev *pdev) static inline char *nic_name(struct pci_dev *pdev)
{ {
switch (pdev->device) { switch (pdev->device) {
case OC_DEVICE_ID1: case OC_DEVICE_ID1:
case OC_DEVICE_ID2:
return OC_NAME; return OC_NAME;
case OC_DEVICE_ID3: case OC_DEVICE_ID2:
return OC_NAME1; return OC_NAME1;
case BE_DEVICE_ID2: case BE_DEVICE_ID2:
return BE3_NAME; return BE3_NAME;
......
...@@ -34,7 +34,6 @@ static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = { ...@@ -34,7 +34,6 @@ static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = {
{ PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) }, { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) }, { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID2) }, { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID2) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID3) },
{ 0 } { 0 }
}; };
MODULE_DEVICE_TABLE(pci, be_dev_ids); MODULE_DEVICE_TABLE(pci, be_dev_ids);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment