diff options
author | Ajit Khaparde <ajitkhaparde@gmail.com> | 2010-02-08 20:28:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-12 15:27:57 -0500 |
commit | e254f6ecaeb4e7c0588e739bf4641df0e8c22bba (patch) | |
tree | 730693850bb9575ebe488a37f975f098df67cae3 /drivers | |
parent | 830a8a976ff2236ebc383e9a06f7872ed9243bfb (diff) |
be2net: remove unused pci device id
We are not going to use this device id.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/benet/be.h | 6 | ||||
-rw-r--r-- | drivers/net/benet/be_main.c | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 5bc74590c73e..242013157f20 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h | |||
@@ -44,16 +44,14 @@ | |||
44 | #define BE_DEVICE_ID1 0x211 | 44 | #define BE_DEVICE_ID1 0x211 |
45 | #define BE_DEVICE_ID2 0x221 | 45 | #define BE_DEVICE_ID2 0x221 |
46 | #define OC_DEVICE_ID1 0x700 | 46 | #define OC_DEVICE_ID1 0x700 |
47 | #define OC_DEVICE_ID2 0x701 | 47 | #define OC_DEVICE_ID2 0x710 |
48 | #define OC_DEVICE_ID3 0x710 | ||
49 | 48 | ||
50 | static inline char *nic_name(struct pci_dev *pdev) | 49 | static inline char *nic_name(struct pci_dev *pdev) |
51 | { | 50 | { |
52 | switch (pdev->device) { | 51 | switch (pdev->device) { |
53 | case OC_DEVICE_ID1: | 52 | case OC_DEVICE_ID1: |
54 | case OC_DEVICE_ID2: | ||
55 | return OC_NAME; | 53 | return OC_NAME; |
56 | case OC_DEVICE_ID3: | 54 | case OC_DEVICE_ID2: |
57 | return OC_NAME1; | 55 | return OC_NAME1; |
58 | case BE_DEVICE_ID2: | 56 | case BE_DEVICE_ID2: |
59 | return BE3_NAME; | 57 | return BE3_NAME; |
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 0014a4e86446..0779f6b5e29b 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c | |||
@@ -34,7 +34,6 @@ static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = { | |||
34 | { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) }, | 34 | { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) }, |
35 | { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) }, | 35 | { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) }, |
36 | { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID2) }, | 36 | { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID2) }, |
37 | { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID3) }, | ||
38 | { 0 } | 37 | { 0 } |
39 | }; | 38 | }; |
40 | MODULE_DEVICE_TABLE(pci, be_dev_ids); | 39 | MODULE_DEVICE_TABLE(pci, be_dev_ids); |