summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/tmacro.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6655/tmacro.h')
-rw-r--r--drivers/staging/vt6655/tmacro.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/tmacro.h b/drivers/staging/vt6655/tmacro.h
index 3d932a258dd1..b0933d866c63 100644
--- a/drivers/staging/vt6655/tmacro.h
+++ b/drivers/staging/vt6655/tmacro.h
@@ -117,10 +117,6 @@
/****** Misc macros ********************************************************/
-// get the field offset in the type(struct, class, ...)
-#define OFFSET(type, field) ((int)(&((type NEAR*)1)->field)-1)
-
-
/* string equality shorthand */
#define STR_EQ(x, y) (strcmp(x, y) == 0)
#define STR_NE(x, y) (strcmp(x, y) != 0)