diff options
author | navin patidar <navinp@cdac.in> | 2013-08-30 03:01:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-30 14:46:48 -0400 |
commit | bad40bb4be4acc40434a5f2dcce9d6f4190a4da5 (patch) | |
tree | c500e8094b7382ea6a0f3417bf2d52087730e0a7 | |
parent | dc427fe72bcb281a3ff07183da2d4f277f41524e (diff) |
staging: bcm: remove Version.h file.
many of the macros defined in Version.h are not being used,
so we can remove the file.
Signed-off-by: navin patidar <navinp@cdac.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 4 | ||||
-rw-r--r-- | drivers/staging/bcm/Version.h | 29 | ||||
-rw-r--r-- | drivers/staging/bcm/headers.h | 3 |
3 files changed, 3 insertions, 33 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index f67a22536cbf..f91bc1fdd895 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c | |||
@@ -1004,9 +1004,9 @@ cntrlEnd: | |||
1004 | if (copy_from_user(&IoBuffer, argp, sizeof(struct bcm_ioctl_buffer))) | 1004 | if (copy_from_user(&IoBuffer, argp, sizeof(struct bcm_ioctl_buffer))) |
1005 | return -EFAULT; | 1005 | return -EFAULT; |
1006 | 1006 | ||
1007 | len = min_t(ulong, IoBuffer.OutputLength, strlen(VER_FILEVERSION_STR) + 1); | 1007 | len = min_t(ulong, IoBuffer.OutputLength, strlen(DRV_VERSION) + 1); |
1008 | 1008 | ||
1009 | if (copy_to_user(IoBuffer.OutputBuffer, VER_FILEVERSION_STR, len)) | 1009 | if (copy_to_user(IoBuffer.OutputBuffer, DRV_VERSION, len)) |
1010 | return -EFAULT; | 1010 | return -EFAULT; |
1011 | Status = STATUS_SUCCESS; | 1011 | Status = STATUS_SUCCESS; |
1012 | break; | 1012 | break; |
diff --git a/drivers/staging/bcm/Version.h b/drivers/staging/bcm/Version.h deleted file mode 100644 index f1cb9de734a6..000000000000 --- a/drivers/staging/bcm/Version.h +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | /*Copyright (c) 2005 Beceem Communications Inc. | ||
2 | |||
3 | Module Name: | ||
4 | |||
5 | Version.h | ||
6 | |||
7 | Abstract: | ||
8 | |||
9 | |||
10 | --*/ | ||
11 | |||
12 | #ifndef VERSION_H | ||
13 | #define VERSION_H | ||
14 | |||
15 | |||
16 | #define VER_FILETYPE VFT_DRV | ||
17 | #define VER_FILESUBTYPE VFT2_DRV_NETWORK | ||
18 | |||
19 | #define VER_FILEVERSION 5.2.45 | ||
20 | #define VER_FILEVERSION_STR "5.2.45" | ||
21 | |||
22 | #undef VER_PRODUCTVERSION | ||
23 | #define VER_PRODUCTVERSION VER_FILEVERSION | ||
24 | |||
25 | #undef VER_PRODUCTVERSION_STR | ||
26 | #define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR | ||
27 | |||
28 | |||
29 | #endif /* VERSION_H */ | ||
diff --git a/drivers/staging/bcm/headers.h b/drivers/staging/bcm/headers.h index da47db8c8f29..7fd21c6923cb 100644 --- a/drivers/staging/bcm/headers.h +++ b/drivers/staging/bcm/headers.h | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <net/ip.h> | 38 | #include <net/ip.h> |
39 | 39 | ||
40 | #include "Typedefs.h" | 40 | #include "Typedefs.h" |
41 | #include "Version.h" | ||
42 | #include "Macros.h" | 41 | #include "Macros.h" |
43 | #include "HostMIBSInterface.h" | 42 | #include "HostMIBSInterface.h" |
44 | #include "cntrl_SignalingInterface.h" | 43 | #include "cntrl_SignalingInterface.h" |
@@ -71,7 +70,7 @@ | |||
71 | #define DEV_NAME "tarang" | 70 | #define DEV_NAME "tarang" |
72 | #define DRV_DESCRIPTION "Beceem Communications Inc. WiMAX driver" | 71 | #define DRV_DESCRIPTION "Beceem Communications Inc. WiMAX driver" |
73 | #define DRV_COPYRIGHT "Copyright 2010. Beceem Communications Inc" | 72 | #define DRV_COPYRIGHT "Copyright 2010. Beceem Communications Inc" |
74 | #define DRV_VERSION VER_FILEVERSION_STR | 73 | #define DRV_VERSION "5.2.45" |
75 | #define PFX DRV_NAME " " | 74 | #define PFX DRV_NAME " " |
76 | 75 | ||
77 | extern struct class *bcm_class; | 76 | extern struct class *bcm_class; |