diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-26 02:51:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-26 02:51:10 +0000 |
commit | 280fcc497fd88927471ef451ad034cd5ad2de73d (patch) | |
tree | dcb8ae22a823004fd282273abe9e61e987a4cb34 /file.c | |
parent | d2a72bbc8726e3089f429b676891fec5c535020a (diff) |
Get rid of some code that's no longer relevant with the new tree
structure for frame_data items.
svn path=/trunk/; revision=36862
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -337,18 +337,6 @@ cf_open(capture_file *cf, const char *fname, gboolean is_tempfile, int *err) nstime_set_unset(&prev_cap_ts); cum_bytes = 0; -#if GLIB_CHECK_VERSION(2,10,0) -#else - /* memory chunks have been deprecated in favor of the slice allocator, - * which has been added in 2.10 - */ - cf->plist_chunk = g_mem_chunk_new("frame_data_chunk", - sizeof(frame_data), - FRAME_DATA_CHUNK_SIZE * sizeof(frame_data), - G_ALLOC_AND_FREE); - g_assert(cf->plist_chunk); -#endif - /* Adjust timestamp precision if auto is selected, col width will be adjusted */ cf_timestamp_auto_precision(cf); /* XXX needed ? */ |