summaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch
blob: ff230a7ef672604489f888393f270eea3492b1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 0a49c04428ff99fdf29edf32e043e04fae492b6d Mon Sep 17 00:00:00 2001
From: "Scott M. Kroll" <skroll@gmail.com>
Date: Mon, 14 Jul 2014 11:24:44 -0400
Subject: [PATCH 1/5] Remove unused DEPRECATED macro

---
 open-vm-tools/lib/include/vm_assert.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/open-vm-tools/lib/include/vm_assert.h b/open-vm-tools/lib/include/vm_assert.h
index 5b02eed..48c9f1d 100644
--- a/lib/include/vm_assert.h
+++ b/lib/include/vm_assert.h
@@ -282,16 +282,6 @@ void WarningThrottled(uint32 *count, const char *fmt, ...)
 
 #define LOG_ONCE(_s) DO_ONCE(Log _s)
 
-#ifdef VMX86_DEVEL
-   #define DEPRECATED(_fix) DO_ONCE(                                        \
-                               Warning("%s:%d: %s is DEPRECATED; %s\n",     \
-                                          __FILE__, __LINE__, __FUNCTION__, \
-                                          _fix))
-#else
-   #define DEPRECATED(_fix) do {} while (0)
-#endif
-
-
 /*
  * Redefine macros that are only in debug versions
  */
-- 
2.0.1