Removed unused $DEVICES variable references