INFINIBAND - remove exit(1) and put return SLURM_ERROR instead
remove unused variable.