From 225635e5d2c59979336fad2045fa9fa962e72281 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 14 Mar 2014 19:45:02 -0700 Subject: Get rid of duplicate code. Change-Id: I39515c13f667a62445e3498cf90742dc271e390c Reviewed-on: https://code.wireshark.org/review/664 Reviewed-by: Guy Harris --- wiretap/vwr.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'wiretap') diff --git a/wiretap/vwr.c b/wiretap/vwr.c index a05f09452e..74ac374ed7 100644 --- a/wiretap/vwr.c +++ b/wiretap/vwr.c @@ -925,11 +925,6 @@ static int vwr_get_fpga_version(wtap *wth, int *err, gchar **err_info) if (header[8] == 48) fpga_version = S3_W_FPGA; } - if ((rec_size > vVW510021_W_STATS_LEN) && (fpga_version == 1000)) { - /* Check the version of the FPGA */ - if (header[8] == 48) - fpga_version = S3_W_FPGA; - } if (fpga_version != 1000) { /* reset the file position offset */ -- cgit v1.2.3