diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2010-12-20 00:59:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-20 00:59:35 -0500 |
commit | 4c306a9291a077879fc3e933326caac3bc319caa (patch) | |
tree | 19704486012ac148ef37005ea38b9c2ae3442fc1 /net/netlabel | |
parent | ba27d85c96c57111ae8acfa959643e5ce8e4bcbe (diff) |
net: kill unused macros
These macros never be used, so remove them.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
-rw-r--r-- | net/netlabel/netlabel_cipso_v4.h | 1 | ||||
-rw-r--r-- | net/netlabel/netlabel_mgmt.h | 1 | ||||
-rw-r--r-- | net/netlabel/netlabel_unlabeled.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/net/netlabel/netlabel_cipso_v4.h b/net/netlabel/netlabel_cipso_v4.h index c8a4079261f0..af7f3355103e 100644 --- a/net/netlabel/netlabel_cipso_v4.h +++ b/net/netlabel/netlabel_cipso_v4.h | |||
@@ -107,7 +107,6 @@ enum { | |||
107 | NLBL_CIPSOV4_C_LISTALL, | 107 | NLBL_CIPSOV4_C_LISTALL, |
108 | __NLBL_CIPSOV4_C_MAX, | 108 | __NLBL_CIPSOV4_C_MAX, |
109 | }; | 109 | }; |
110 | #define NLBL_CIPSOV4_C_MAX (__NLBL_CIPSOV4_C_MAX - 1) | ||
111 | 110 | ||
112 | /* NetLabel CIPSOv4 attributes */ | 111 | /* NetLabel CIPSOv4 attributes */ |
113 | enum { | 112 | enum { |
diff --git a/net/netlabel/netlabel_mgmt.h b/net/netlabel/netlabel_mgmt.h index 05d96431f819..0a25838bcf45 100644 --- a/net/netlabel/netlabel_mgmt.h +++ b/net/netlabel/netlabel_mgmt.h | |||
@@ -173,7 +173,6 @@ enum { | |||
173 | NLBL_MGMT_C_VERSION, | 173 | NLBL_MGMT_C_VERSION, |
174 | __NLBL_MGMT_C_MAX, | 174 | __NLBL_MGMT_C_MAX, |
175 | }; | 175 | }; |
176 | #define NLBL_MGMT_C_MAX (__NLBL_MGMT_C_MAX - 1) | ||
177 | 176 | ||
178 | /* NetLabel Management attributes */ | 177 | /* NetLabel Management attributes */ |
179 | enum { | 178 | enum { |
diff --git a/net/netlabel/netlabel_unlabeled.h b/net/netlabel/netlabel_unlabeled.h index 7aba63595137..0bc8dc3f9e3c 100644 --- a/net/netlabel/netlabel_unlabeled.h +++ b/net/netlabel/netlabel_unlabeled.h | |||
@@ -180,7 +180,6 @@ enum { | |||
180 | NLBL_UNLABEL_C_STATICLISTDEF, | 180 | NLBL_UNLABEL_C_STATICLISTDEF, |
181 | __NLBL_UNLABEL_C_MAX, | 181 | __NLBL_UNLABEL_C_MAX, |
182 | }; | 182 | }; |
183 | #define NLBL_UNLABEL_C_MAX (__NLBL_UNLABEL_C_MAX - 1) | ||
184 | 183 | ||
185 | /* NetLabel Unlabeled attributes */ | 184 | /* NetLabel Unlabeled attributes */ |
186 | enum { | 185 | enum { |