hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/s390/include/asm/pnet.h
....@@ -11,13 +11,5 @@
1111 #include <linux/device.h>
1212 #include <linux/types.h>
1313
14
-#define PNETIDS_LEN 64 /* Total utility string length in bytes
15
- * to cover up to 4 PNETIDs of 16 bytes
16
- * for up to 4 device ports
17
- */
18
-#define MAX_PNETID_LEN 16 /* Max.length of a single port PNETID */
19
-#define MAX_PNETID_PORTS (PNETIDS_LEN / MAX_PNETID_LEN)
20
- /* Max. # of ports with a PNETID */
21
-
2214 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid);
2315 #endif /* _ASM_S390_PNET_H */