summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/Unix
diff options
context:
space:
mode:
authorAndrew Fish <afish@apple.com>2019-08-16 14:34:02 -0700
committerMichael D Kinney <michael.d.kinney@intel.com>2019-08-19 09:57:27 -0700
commit26ac9c639a0ac29dc5493bb62794603699c334bb (patch)
treea4ac511c80b91e2635eff53b658749050e7c0ebf /EmulatorPkg/Unix
parent97a1b9f4732fb2e68c2b67f15eb8563c38227404 (diff)
downloadedk2-26ac9c639a0ac29dc5493bb62794603699c334bb.tar.gz
edk2-26ac9c639a0ac29dc5493bb62794603699c334bb.tar.bz2
edk2-26ac9c639a0ac29dc5493bb62794603699c334bb.zip
EmulatorPkg/Unix/Host: Remove debug code from BerkeleyPacketFilter.c
Remove old debug code that generates an exception. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Andrew Fish <afish@apple.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Andrew Fish <afish@apple.com>
Diffstat (limited to 'EmulatorPkg/Unix')
-rw-r--r--EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c b/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c
index 540340f25f..3013bbc86b 100644
--- a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c
+++ b/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c
@@ -767,10 +767,6 @@ EmuSnpGetStatus (
Private = EMU_SNP_PRIVATE_DATA_FROM_THIS (This);
- if (TxBuf != NULL) {
- *((UINT8 **)TxBuf) = (UINT8 *)1;
- }
-
if ( InterruptStatus != NULL ) {
*InterruptStatus = EFI_SIMPLE_NETWORK_TRANSMIT_INTERRUPT;
}