diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-09-25 14:53:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-28 17:32:11 -0400 |
commit | b961f9a48844ecf33fa687bcb0cd7c6a33de7b5d (patch) | |
tree | fe5c1a0181b81aa28a8aef35d5832fee915dde5e /drivers/net/ethernet/chelsio | |
parent | d63a6dcf06cb3e6f3d08d79ba23603b03828650e (diff) |
cxgb4vf: Remove superfluous "idx" parameter of CH_DEVICE() macro.
Remove redundant idx parameter of CH_DEVICE() macro, its always zero.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c index 82534031cada..656c36e403af 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | |||
@@ -2907,60 +2907,60 @@ static void cxgb4vf_pci_shutdown(struct pci_dev *pdev) | |||
2907 | /* | 2907 | /* |
2908 | * PCI Device registration data structures. | 2908 | * PCI Device registration data structures. |
2909 | */ | 2909 | */ |
2910 | #define CH_DEVICE(devid, idx) \ | 2910 | #define CH_DEVICE(devid) \ |
2911 | { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, idx } | 2911 | { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 } |
2912 | 2912 | ||
2913 | static const struct pci_device_id cxgb4vf_pci_tbl[] = { | 2913 | static const struct pci_device_id cxgb4vf_pci_tbl[] = { |
2914 | CH_DEVICE(0xb000, 0), /* PE10K FPGA */ | 2914 | CH_DEVICE(0xb000), /* PE10K FPGA */ |
2915 | CH_DEVICE(0x4801, 0), /* T420-cr */ | 2915 | CH_DEVICE(0x4801), /* T420-cr */ |
2916 | CH_DEVICE(0x4802, 0), /* T422-cr */ | 2916 | CH_DEVICE(0x4802), /* T422-cr */ |
2917 | CH_DEVICE(0x4803, 0), /* T440-cr */ | 2917 | CH_DEVICE(0x4803), /* T440-cr */ |
2918 | CH_DEVICE(0x4804, 0), /* T420-bch */ | 2918 | CH_DEVICE(0x4804), /* T420-bch */ |
2919 | CH_DEVICE(0x4805, 0), /* T440-bch */ | 2919 | CH_DEVICE(0x4805), /* T440-bch */ |
2920 | CH_DEVICE(0x4806, 0), /* T460-ch */ | 2920 | CH_DEVICE(0x4806), /* T460-ch */ |
2921 | CH_DEVICE(0x4807, 0), /* T420-so */ | 2921 | CH_DEVICE(0x4807), /* T420-so */ |
2922 | CH_DEVICE(0x4808, 0), /* T420-cx */ | 2922 | CH_DEVICE(0x4808), /* T420-cx */ |
2923 | CH_DEVICE(0x4809, 0), /* T420-bt */ | 2923 | CH_DEVICE(0x4809), /* T420-bt */ |
2924 | CH_DEVICE(0x480a, 0), /* T404-bt */ | 2924 | CH_DEVICE(0x480a), /* T404-bt */ |
2925 | CH_DEVICE(0x480d, 0), /* T480-cr */ | 2925 | CH_DEVICE(0x480d), /* T480-cr */ |
2926 | CH_DEVICE(0x480e, 0), /* T440-lp-cr */ | 2926 | CH_DEVICE(0x480e), /* T440-lp-cr */ |
2927 | CH_DEVICE(0x4880, 0), | 2927 | CH_DEVICE(0x4880), |
2928 | CH_DEVICE(0x4880, 1), | 2928 | CH_DEVICE(0x4880), |
2929 | CH_DEVICE(0x4880, 2), | 2929 | CH_DEVICE(0x4880), |
2930 | CH_DEVICE(0x4880, 3), | 2930 | CH_DEVICE(0x4880), |
2931 | CH_DEVICE(0x4880, 4), | 2931 | CH_DEVICE(0x4880), |
2932 | CH_DEVICE(0x4880, 5), | 2932 | CH_DEVICE(0x4880), |
2933 | CH_DEVICE(0x4880, 6), | 2933 | CH_DEVICE(0x4880), |
2934 | CH_DEVICE(0x4880, 7), | 2934 | CH_DEVICE(0x4880), |
2935 | CH_DEVICE(0x4880, 8), | 2935 | CH_DEVICE(0x4880), |
2936 | CH_DEVICE(0x5801, 0), /* T520-cr */ | 2936 | CH_DEVICE(0x5801), /* T520-cr */ |
2937 | CH_DEVICE(0x5802, 0), /* T522-cr */ | 2937 | CH_DEVICE(0x5802), /* T522-cr */ |
2938 | CH_DEVICE(0x5803, 0), /* T540-cr */ | 2938 | CH_DEVICE(0x5803), /* T540-cr */ |
2939 | CH_DEVICE(0x5804, 0), /* T520-bch */ | 2939 | CH_DEVICE(0x5804), /* T520-bch */ |
2940 | CH_DEVICE(0x5805, 0), /* T540-bch */ | 2940 | CH_DEVICE(0x5805), /* T540-bch */ |
2941 | CH_DEVICE(0x5806, 0), /* T540-ch */ | 2941 | CH_DEVICE(0x5806), /* T540-ch */ |
2942 | CH_DEVICE(0x5807, 0), /* T520-so */ | 2942 | CH_DEVICE(0x5807), /* T520-so */ |
2943 | CH_DEVICE(0x5808, 0), /* T520-cx */ | 2943 | CH_DEVICE(0x5808), /* T520-cx */ |
2944 | CH_DEVICE(0x5809, 0), /* T520-bt */ | 2944 | CH_DEVICE(0x5809), /* T520-bt */ |
2945 | CH_DEVICE(0x580a, 0), /* T504-bt */ | 2945 | CH_DEVICE(0x580a), /* T504-bt */ |
2946 | CH_DEVICE(0x580b, 0), /* T520-sr */ | 2946 | CH_DEVICE(0x580b), /* T520-sr */ |
2947 | CH_DEVICE(0x580c, 0), /* T504-bt */ | 2947 | CH_DEVICE(0x580c), /* T504-bt */ |
2948 | CH_DEVICE(0x580d, 0), /* T580-cr */ | 2948 | CH_DEVICE(0x580d), /* T580-cr */ |
2949 | CH_DEVICE(0x580e, 0), /* T540-lp-cr */ | 2949 | CH_DEVICE(0x580e), /* T540-lp-cr */ |
2950 | CH_DEVICE(0x580f, 0), /* Amsterdam */ | 2950 | CH_DEVICE(0x580f), /* Amsterdam */ |
2951 | CH_DEVICE(0x5810, 0), /* T580-lp-cr */ | 2951 | CH_DEVICE(0x5810), /* T580-lp-cr */ |
2952 | CH_DEVICE(0x5811, 0), /* T520-lp-cr */ | 2952 | CH_DEVICE(0x5811), /* T520-lp-cr */ |
2953 | CH_DEVICE(0x5812, 0), /* T560-cr */ | 2953 | CH_DEVICE(0x5812), /* T560-cr */ |
2954 | CH_DEVICE(0x5813, 0), /* T580-cr */ | 2954 | CH_DEVICE(0x5813), /* T580-cr */ |
2955 | CH_DEVICE(0x5814, 0), /* T580-so-cr */ | 2955 | CH_DEVICE(0x5814), /* T580-so-cr */ |
2956 | CH_DEVICE(0x5815, 0), /* T502-bt */ | 2956 | CH_DEVICE(0x5815), /* T502-bt */ |
2957 | CH_DEVICE(0x5880, 0), | 2957 | CH_DEVICE(0x5880), |
2958 | CH_DEVICE(0x5881, 0), | 2958 | CH_DEVICE(0x5881), |
2959 | CH_DEVICE(0x5882, 0), | 2959 | CH_DEVICE(0x5882), |
2960 | CH_DEVICE(0x5883, 0), | 2960 | CH_DEVICE(0x5883), |
2961 | CH_DEVICE(0x5884, 0), | 2961 | CH_DEVICE(0x5884), |
2962 | CH_DEVICE(0x5885, 0), | 2962 | CH_DEVICE(0x5885), |
2963 | CH_DEVICE(0x5886, 0), | 2963 | CH_DEVICE(0x5886), |
2964 | { 0, } | 2964 | { 0, } |
2965 | }; | 2965 | }; |
2966 | 2966 | ||