aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-03-14 19:45:02 -0700
committerGuy Harris <guy@alum.mit.edu>2014-03-15 02:45:28 +0000
commit225635e5d2c59979336fad2045fa9fa962e72281 (patch)
treeae18ea0b3b1c4b977c85926c9148f13c45728d9c /wiretap
parent3158a5b22e91f406c6ced070e73cc6efeb125485 (diff)
Get rid of duplicate code.
Change-Id: I39515c13f667a62445e3498cf90742dc271e390c Reviewed-on: https://code.wireshark.org/review/664 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/vwr.c5
1 files changed, 0 insertions, 5 deletions
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 */