From: Andrew Fish Date: Fri, 16 Aug 2019 21:34:02 +0000 (-0700) Subject: EmulatorPkg/Unix/Host: Remove debug code from BerkeleyPacketFilter.c X-Git-Tag: edk2-stable201908~61 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=26ac9c639a0ac29dc5493bb62794603699c334bb;p=mirror_edk2.git EmulatorPkg/Unix/Host: Remove debug code from BerkeleyPacketFilter.c Remove old debug code that generates an exception. Cc: Jordan Justen Cc: Ray Ni Cc: Michael D Kinney Signed-off-by: Andrew Fish Reviewed-by: Michael D Kinney Reviewed-by: Jordan Justen Tested-by: Andrew Fish --- 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; }