diff options
author | Jim Lieb <lieb@canonical.com> | 2009-08-12 17:54:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:02:07 -0400 |
commit | 9d26d60f99855056a20ac7c0b68eb5ed04619831 (patch) | |
tree | 78c5c3c05f639051eb0be9c38ed4fdf6a9f78fa4 /drivers/staging/vt6656/usbpipe.h | |
parent | a884847a1a30be9a55d975f1e3fe8cf5f922bb79 (diff) |
Staging: vt665x: Clean up include files, Part 1
Remove cplusplus lines from include files
Remove needless ifdefs on includes to conform with C
conventions. Remove misc commented code/includes
Update TODO
Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/usbpipe.h')
-rw-r--r-- | drivers/staging/vt6656/usbpipe.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/vt6656/usbpipe.h b/drivers/staging/vt6656/usbpipe.h index 729edadb491..c422d1d0873 100644 --- a/drivers/staging/vt6656/usbpipe.h +++ b/drivers/staging/vt6656/usbpipe.h | |||
@@ -27,18 +27,11 @@ | |||
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | 29 | ||
30 | |||
31 | #ifndef __USBPIPE_H__ | 30 | #ifndef __USBPIPE_H__ |
32 | #define __USBPIPE_H__ | 31 | #define __USBPIPE_H__ |
33 | 32 | ||
34 | #if !defined(__TTYPE_H__) | ||
35 | #include "ttype.h" | 33 | #include "ttype.h" |
36 | #endif | ||
37 | #if !defined(__DEVICE_H__) | ||
38 | #include "device.h" | 34 | #include "device.h" |
39 | #endif | ||
40 | |||
41 | |||
42 | 35 | ||
43 | /*--------------------- Export Definitions -------------------------*/ | 36 | /*--------------------- Export Definitions -------------------------*/ |
44 | 37 | ||
@@ -47,9 +40,6 @@ | |||
47 | /*--------------------- Export Variables --------------------------*/ | 40 | /*--------------------- Export Variables --------------------------*/ |
48 | 41 | ||
49 | /*--------------------- Export Functions --------------------------*/ | 42 | /*--------------------- Export Functions --------------------------*/ |
50 | #ifdef __cplusplus | ||
51 | extern "C" { /* Assume C declarations for C++ */ | ||
52 | #endif /* __cplusplus */ | ||
53 | 43 | ||
54 | NTSTATUS | 44 | NTSTATUS |
55 | PIPEnsControlOut( | 45 | PIPEnsControlOut( |
@@ -103,13 +93,6 @@ PIPEnsSendBulkOut( | |||
103 | IN PUSB_SEND_CONTEXT pContext | 93 | IN PUSB_SEND_CONTEXT pContext |
104 | ); | 94 | ); |
105 | 95 | ||
106 | #ifdef __cplusplus | ||
107 | } /* End of extern "C" { */ | ||
108 | #endif /* __cplusplus */ | ||
109 | |||
110 | |||
111 | |||
112 | |||
113 | #endif // __USBPIPE_H__ | 96 | #endif // __USBPIPE_H__ |
114 | 97 | ||
115 | 98 | ||