Cleanup AFD headers a bit.
Modified: trunk/reactos/drivers/net/afd/afd/main.c
Modified: trunk/reactos/drivers/net/afd/include/afd.h

Modified: trunk/reactos/drivers/net/afd/afd/main.c
--- trunk/reactos/drivers/net/afd/afd/main.c	2005-05-28 11:09:53 UTC (rev 15570)
+++ trunk/reactos/drivers/net/afd/afd/main.c	2005-05-28 11:10:27 UTC (rev 15571)
@@ -488,7 +488,7 @@
 DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
 {
     PDEVICE_OBJECT DeviceObject;
-    UNICODE_STRING wstrDeviceName;
+    UNICODE_STRING wstrDeviceName = RTL_CONSTANT_STRING(L"\\Device\\Afd");
     PAFD_DEVICE_EXTENSION DeviceExt;
     NTSTATUS Status;
 
@@ -500,9 +500,6 @@
     DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = AfdDispatch;
     DriverObject->DriverUnload = AfdUnload;
 
-    /* create afd device */
-    RtlRosInitUnicodeStringFromLiteral(&wstrDeviceName, L"\\Device\\Afd");
-
     Status = IoCreateDevice
 	( DriverObject,
 	  sizeof(AFD_DEVICE_EXTENSION),

Modified: trunk/reactos/drivers/net/afd/include/afd.h
--- trunk/reactos/drivers/net/afd/include/afd.h	2005-05-28 11:09:53 UTC (rev 15570)
+++ trunk/reactos/drivers/net/afd/include/afd.h	2005-05-28 11:10:27 UTC (rev 15571)
@@ -17,22 +17,9 @@
 #include <tdikrnl.h>
 #include <tdiinfo.h>
 #include <string.h>
-#include <ndis.h>
+#include <winsock2.h>
 #include <shared.h>
 
-#ifndef _MSC_VER
-#include <roscfg.h>
-#include <rosrtl/string.h>
-#include <winsock2.h>
-#include <ddk/tdi.h>
-#include <ddk/ndis.h>
-#include <tcpmisc.h>
-#include <tcpioctl.h>
-#else
-#include <ntdef.h>
-#define STDCALL
-#endif
-
 #ifndef MIN
 #define MIN(x,y) (((x)<(y))?(x):(y))
 #endif