Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp130733pxk; Tue, 15 Sep 2020 23:25:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxddh/u+9EH24fot7Ra8ZRTNviNTcHm8ev8bRJNFYRrBBr525HLfjjm9dKLpiASSjLK+nbm X-Received: by 2002:aa7:d417:: with SMTP id z23mr25046983edq.62.1600237536655; Tue, 15 Sep 2020 23:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600237536; cv=none; d=google.com; s=arc-20160816; b=tBC5t86fZfzmGutIuhuiNGgH7fd4xgWETvUYe2ay51mud3h/gaCY/ejElYqy2qYous VyKJGfE/boiX8wjMxSPRoAj9B3m2eiaTD2nT5Xll0B7Y4pPvnJBOjgsbfkomq3NUPdj+ kdmqgbjtxix0vr7pX1MBXAS5dScV+L43V6BtJ5v0A0xjUTgJnh3OIWI14Li1mRc/HPzH elQHKPd+PjUsf7tn21eWRKYEFNTPd2KUZwTSTPsvJFDjwkX05Hus82f9xtzZYMc4FkH9 J6ECS/EAUSZhmWkdBCFVjxW2yXiy6UVnKbZQPoh8nf0OEfO7tz5CiEwHRE5symCtsRXY hWxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=aQLF046AMsof8yYGIYlsGqtsPOtH32hMerNnXsyjSN0=; b=zV0TQo+fzBD83WYxF3tcXkigXHxuthTSqs7SHeD40Nc3m7tFoLCRHJRthr+GgGHo0n sK+/UV6G33mBo9Gi2+8CGqXdARCly+ACZeizZICNHc4onvrcw1iJYZv/1vuBau99zGXI Mmzh5MV9J2BAdAIRVpB6SqHvTIklswk/NTVVYGNWuuiMkCGIaveuDRqPj5NOYamP1K6q 7tIhGCj+WTWn23K68ERORNvdlijeFaVCDyN+SngXHw63CYMdg2GmiuJK4pPklCSqVhrc 3dOowRdLC7WT1dUHebY++t286Jm6BcxMmeRX+m5GVqmYpPdbzD9R2XXsv8BAaJSf+kUX HD/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si10807238ejt.59.2020.09.15.23.25.14; Tue, 15 Sep 2020 23:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726357AbgIPGWt (ORCPT + 99 others); Wed, 16 Sep 2020 02:22:49 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12724 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726393AbgIPGVA (ORCPT ); Wed, 16 Sep 2020 02:21:00 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 24B353DBC1CD16BBCEBB; Wed, 16 Sep 2020 14:20:59 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Wed, 16 Sep 2020 14:20:49 +0800 From: Qinglang Miao To: Harald Freudenberger , Heiko Carstens , Vasily Gorbik , Christian Borntraeger CC: , , "Qinglang Miao" Subject: [PATCH -next] s390/ap: remove unnecessary spin_lock_init() Date: Wed, 16 Sep 2020 14:21:30 +0800 Message-ID: <20200916062130.190910-1-miaoqinglang@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The spinlock ap_poll_timer_lock is initialized statically. It is unnecessary to initialize by spin_lock_init(). Signed-off-by: Qinglang Miao --- drivers/s390/crypto/ap_bus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index 24a1940b8..231a98c91 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c @@ -1575,7 +1575,6 @@ static int __init ap_module_init(void) */ if (MACHINE_IS_VM) poll_timeout = 1500000; - spin_lock_init(&ap_poll_timer_lock); hrtimer_init(&ap_poll_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); ap_poll_timer.function = ap_poll_timeout; -- 2.23.0