File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,6 @@ static inline bool has_sanitize_verify(struct kmem_cache *s)
135135 return IS_ENABLED (CONFIG_SLAB_SANITIZE_VERIFY ) && has_sanitize (s );
136136}
137137
138- static inline bool has_sanitize_verify (struct kmem_cache * s )
139- {
140- return IS_ENABLED (CONFIG_SLAB_SANITIZE_VERIFY ) && has_sanitize (s );
141- }
142-
143138void * fixup_red_left (struct kmem_cache * s , void * p )
144139{
145140 if (kmem_cache_debug (s ) && s -> flags & SLAB_RED_ZONE )
@@ -3060,12 +3055,8 @@ static __always_inline void do_slab_free(struct kmem_cache *s,
30603055
30613056 if (sanitize ) {
30623057 memset (x + offset , 0 , s -> object_size - offset );
3063- <<<<<<< HEAD
30643058 if (!IS_ENABLED (CONFIG_SLAB_SANITIZE_VERIFY ) &&
30653059 s -> ctor )
3066- == = == = =
3067- if (!IS_ENABLED (CONFIG_SLAB_SANITIZE_VERIFY ) && s -> ctor )
3068- >>>>>>> slub : add multi - purpose random canaries
30693060 s -> ctor (x );
30703061 }
30713062 if (x == tail_obj )
You can’t perform that action at this time.
0 commit comments