diff options
Diffstat (limited to 'mm/kasan/quarantine.c')
-rw-r--r-- | mm/kasan/quarantine.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/kasan/quarantine.c b/mm/kasan/quarantine.c index 4852625ff851..7fd121d13b88 100644 --- a/mm/kasan/quarantine.c +++ b/mm/kasan/quarantine.c | |||
@@ -144,13 +144,11 @@ static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) | |||
144 | static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) | 144 | static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) |
145 | { | 145 | { |
146 | void *object = qlink_to_object(qlink, cache); | 146 | void *object = qlink_to_object(qlink, cache); |
147 | struct kasan_alloc_meta *alloc_info = get_alloc_info(cache, object); | ||
148 | unsigned long flags; | 147 | unsigned long flags; |
149 | 148 | ||
150 | if (IS_ENABLED(CONFIG_SLAB)) | 149 | if (IS_ENABLED(CONFIG_SLAB)) |
151 | local_irq_save(flags); | 150 | local_irq_save(flags); |
152 | 151 | ||
153 | alloc_info->state = KASAN_STATE_FREE; | ||
154 | ___cache_free(cache, object, _THIS_IP_); | 152 | ___cache_free(cache, object, _THIS_IP_); |
155 | 153 | ||
156 | if (IS_ENABLED(CONFIG_SLAB)) | 154 | if (IS_ENABLED(CONFIG_SLAB)) |