path: root/arch/s390/include
diff options
authorUrsula Braun <ubraun@linux.ibm.com>2019-02-07 14:56:14 (GMT)
committerDavid S. Miller <davem@davemloft.net>2019-02-08 02:06:18 (GMT)
commit41c80be24be4eae27571ce524def9467c9705ce5 (patch)
tree0f9fd318b146fd25e5eac4456e3923e280873284 /arch/s390/include
parentfc4aa1ca1628d31d1e2770b96a3bd8e25eef118d (diff)
s390/net: move pnet constants
There is no need to define these PNETID related constants in the pnet.h file, since they are just used locally within pnet.c. Just code cleanup, no functional change. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390/include')
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/s390/include/asm/pnet.h b/arch/s390/include/asm/pnet.h
index 6e27858..5739276 100644
--- a/arch/s390/include/asm/pnet.h
+++ b/arch/s390/include/asm/pnet.h
@@ -11,13 +11,5 @@
#include <linux/device.h>
#include <linux/types.h>
-#define PNETIDS_LEN 64 /* Total utility string length in bytes
- * to cover up to 4 PNETIDs of 16 bytes
- * for up to 4 device ports
- */
-#define MAX_PNETID_LEN 16 /* Max.length of a single port PNETID */
- /* Max. # of ports with a PNETID */
int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid);
#endif /* _ASM_S390_PNET_H */

Privacy Policy