diff --git a/src/api/slurm.h b/src/api/slurm.h
index 98b37300a4489a36daa495db72adffa9af5d2725..9be67a66ceffb35fae0bee489157cc109f6bfee8 100644
--- a/src/api/slurm.h
+++ b/src/api/slurm.h
@@ -7,9 +7,6 @@
  * author: moe jette, jette@llnl.gov
  */
 
-#define MAX_ID_LEN	32
-#define MAX_NAME_LEN	1024 	/* gethostname in linux returns a FQ DNS name */
-
 #include <src/common/slurm_protocol_defs.h>
 #include <stdio.h>