X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fpstore%2Fram.c;h=e708f95f4c7d9c15459b50c83ab4c12236e2b0f7;hb=dca6d5e26c16898004197df49b9539ea23cabe46;hp=267932fdd1df61798c5274177b33a82da615f0ae;hpb=3a3985d47e3c348360afce2eb62b21982c7ea20d;p=mirror_ubuntu-bionic-kernel.git diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 267932fdd1df..e708f95f4c7d 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c @@ -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)