summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/wangxun
diff options
context:
space:
mode:
authormengyuanlou <mengyuanlou@net-swift.com>2023-03-15 12:18:46 +0300
committerJakub Kicinski <kuba@kernel.org>2023-03-18 08:30:28 +0300
commit4dd2744fae6dc705c5d2298fe0f0812d34f5b64e (patch)
tree33d79f1b555ae174c11b7b19b8e864d3155b158a /drivers/net/ethernet/wangxun
parent6365ba64b4dbe8b59ddaeaa724b281f3787715d5 (diff)
downloadlinux-4dd2744fae6dc705c5d2298fe0f0812d34f5b64e.tar.xz
net: wangxun: Remove macro that is redefined
Remove PCI_VENDOR_ID_WANGXUN which is redefined in drivers/pci/quirks. Signed-off-by: mengyuanlou <mengyuanlou@net-swift.com> Link: https://lore.kernel.org/r/20230315091846.17314-1-mengyuanlou@net-swift.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/wangxun')
-rw-r--r--drivers/net/ethernet/wangxun/libwx/wx_type.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/wangxun/libwx/wx_type.h b/drivers/net/ethernet/wangxun/libwx/wx_type.h
index 2b9efd13c500..2bec5b1bc196 100644
--- a/drivers/net/ethernet/wangxun/libwx/wx_type.h
+++ b/drivers/net/ethernet/wangxun/libwx/wx_type.h
@@ -7,11 +7,6 @@
#include <linux/bitfield.h>
#include <linux/netdevice.h>
-/* Vendor ID */
-#ifndef PCI_VENDOR_ID_WANGXUN
-#define PCI_VENDOR_ID_WANGXUN 0x8088
-#endif
-
#define WX_NCSI_SUP 0x8000
#define WX_NCSI_MASK 0x8000
#define WX_WOL_SUP 0x4000