staging: bcm: remove Version.h file.
authornavin patidar <navinp@cdac.in>
Fri, 30 Aug 2013 07:01:51 +0000 (12:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Aug 2013 18:46:48 +0000 (11:46 -0700)
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>
drivers/staging/bcm/Bcmchar.c
drivers/staging/bcm/Version.h [deleted file]
drivers/staging/bcm/headers.h

index f67a22536cbf6dc7843b583db8a47295518496c4..f91bc1fdd895eda2c3e43c2553fef784d15f43c5 100644 (file)
@@ -1004,9 +1004,9 @@ cntrlEnd:
                if (copy_from_user(&IoBuffer, argp, sizeof(struct bcm_ioctl_buffer)))
                        return -EFAULT;
 
-               len = min_t(ulong, IoBuffer.OutputLength, strlen(VER_FILEVERSION_STR) + 1);
+               len = min_t(ulong, IoBuffer.OutputLength, strlen(DRV_VERSION) + 1);
 
-               if (copy_to_user(IoBuffer.OutputBuffer, VER_FILEVERSION_STR, len))
+               if (copy_to_user(IoBuffer.OutputBuffer, DRV_VERSION, len))
                        return -EFAULT;
                Status = STATUS_SUCCESS;
                break;
diff --git a/drivers/staging/bcm/Version.h b/drivers/staging/bcm/Version.h
deleted file mode 100644 (file)
index f1cb9de..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*Copyright (c) 2005 Beceem Communications Inc.
-
-Module Name:
-
-  Version.h
-
-Abstract:
-
-
---*/
-
-#ifndef VERSION_H
-#define VERSION_H
-
-
-#define VER_FILETYPE                VFT_DRV
-#define VER_FILESUBTYPE             VFT2_DRV_NETWORK
-
-#define VER_FILEVERSION             5.2.45
-#define VER_FILEVERSION_STR         "5.2.45"
-
-#undef VER_PRODUCTVERSION
-#define VER_PRODUCTVERSION          VER_FILEVERSION
-
-#undef VER_PRODUCTVERSION_STR
-#define VER_PRODUCTVERSION_STR      VER_FILEVERSION_STR
-
-
-#endif /* VERSION_H */
index da47db8c8f29941d441544480fc62d94197deb40..7fd21c6923cb7b953db1df5d435387aa8dfb6b72 100644 (file)
@@ -38,7 +38,6 @@
 #include <net/ip.h>
 
 #include "Typedefs.h"
-#include "Version.h"
 #include "Macros.h"
 #include "HostMIBSInterface.h"
 #include "cntrl_SignalingInterface.h"
@@ -71,7 +70,7 @@
 #define DEV_NAME       "tarang"
 #define DRV_DESCRIPTION "Beceem Communications Inc. WiMAX driver"
 #define DRV_COPYRIGHT  "Copyright 2010. Beceem Communications Inc"
-#define DRV_VERSION    VER_FILEVERSION_STR
+#define DRV_VERSION    "5.2.45"
 #define PFX            DRV_NAME " "
 
 extern struct class *bcm_class;