]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/pstore/ram.c
pstore: Convert buf_lock to semaphore
[mirror_ubuntu-bionic-kernel.git] / fs / pstore / ram.c
index 267932fdd1df61798c5274177b33a82da615f0ae..e708f95f4c7d9c15459b50c83ab4c12236e2b0f7 100644 (file)
@@ -812,7 +812,6 @@ static int ramoops_probe(struct platform_device *pdev)
                err = -ENOMEM;
                goto fail_clear;
        }
-       spin_lock_init(&cxt->pstore.buf_lock);
 
        cxt->pstore.flags = PSTORE_FLAGS_DMESG;
        if (cxt->console_size)