aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netlabel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index ba2f6823805c..4e223aa25e5b 100644
--- a/include/net/netlabel.h
+++ b/include/net/netlabel.h
@@ -169,14 +169,12 @@ static inline void netlbl_secattr_cache_free(struct netlbl_lsm_cache *cache)
169 * @secattr: the struct to initialize 169 * @secattr: the struct to initialize
170 * 170 *
171 * Description: 171 * Description:
172 * Initialize an already allocated netlbl_lsm_secattr struct. Returns zero on 172 * Initialize an already allocated netlbl_lsm_secattr struct.
173 * success, negative values on error.
174 * 173 *
175 */ 174 */
176static inline int netlbl_secattr_init(struct netlbl_lsm_secattr *secattr) 175static inline void netlbl_secattr_init(struct netlbl_lsm_secattr *secattr)
177{ 176{
178 memset(secattr, 0, sizeof(*secattr)); 177 memset(secattr, 0, sizeof(*secattr));
179 return 0;
180} 178}
181 179
182/** 180/**