Remove code related to PLATFORM_WINDOWS

This commit is contained in:
Carlos Garces
2021-10-14 19:32:27 +02:00
parent 507d1c07e0
commit 9d13b33a29
33 changed files with 121 additions and 1314 deletions

View File

@@ -16,13 +16,6 @@
#include <drv_types.h>
#if defined(PLATFORM_LINUX) && defined (PLATFORM_WINDOWS)
#error "Shall be Linux or Windows, but not both!\n"
#endif
bool test_st_match_rule(_adapter *adapter, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port)
{
if (ntohs(*((u16 *)local_port)) == 5001 || ntohs(*((u16 *)remote_port)) == 5001)