rx packet dumper not in kernel
authorDerrick Brashear <shadow@dementia.org>
Fri, 4 Dec 2009 20:31:10 +0000 (15:31 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Sat, 5 Dec 2009 00:49:17 +0000 (16:49 -0800)
don't compile the rx packet dumper when in kernel

Change-Id: I8484f3ed80d3b97d733091901f6e252a455cefa1
Reviewed-on: http://gerrit.openafs.org/889
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/rx/rx.c

index 0918c09..afb3184 100755 (executable)
@@ -8199,6 +8199,7 @@ DllMain(HINSTANCE dllInstHandle,  /* instance handle for this DLL module */
 }
 #endif /* AFS_NT40_ENV */
 
+#ifndef KERNEL
 int rx_DumpCalls(FILE *outputFile, char *cookie)
 {
 #ifdef RXDEBUG_PACKET
@@ -8270,4 +8271,4 @@ int rx_DumpCalls(FILE *outputFile, char *cookie)
 #endif /* RXDEBUG_PACKET */
     return 0;
 }
-
+#endif