]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - mm/swap_slots.c
s390/qeth: fix up ssqd tracing
[mirror_ubuntu-bionic-kernel.git] / mm / swap_slots.c
index 7ebb23836f689e766caa71bd775c0b919f658bb9..b1ccb58ad397403214a220e4a0ac7901a6b6ae1e 100644 (file)
@@ -267,8 +267,6 @@ int free_swap_slot(swp_entry_t entry)
 {
        struct swap_slots_cache *cache;
 
-       WARN_ON_ONCE(!swap_slot_cache_initialized);
-
        cache = &get_cpu_var(swp_slots);
        if (use_swap_slot_cache && cache->slots_ret) {
                spin_lock_irq(&cache->free_lock);