From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E81AC2D0E2 for ; Tue, 22 Sep 2020 15:27:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B28D8214F1 for ; Tue, 22 Sep 2020 15:27:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PQ0Av58M" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726711AbgIVP1R (ORCPT ); Tue, 22 Sep 2020 11:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbgIVP1R (ORCPT ); Tue, 22 Sep 2020 11:27:17 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29CACC0613D0 for ; Tue, 22 Sep 2020 08:27:17 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id x14so17520388wrl.12 for ; Tue, 22 Sep 2020 08:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=daWCo1RFCRJHeJIJbYudV3s6gpJF4K5dmJezag8Qxqc=; b=PQ0Av58MFvLr8hCz6Yr/XxwJJ7Rgqi5vRs6SigDx5kZJM55s9csvPupwqeaTQWbb5z TRGOieLlELVhujXUHDOon7IzLBsGs3ni5pwKbtN4mB5zBPYampC9UdWB+vt9L+9B+kA3 R5vvd2tolQMyPqDvZ3F8UN102erJ643KTs9FuimjTL9q7XVs6EIOZuAzaz6Nhm5enw7s 9jMD1N9hAov6lVgtCVQx4WoWiHmWIAtsOIkf8+5Z6ycPjYAZHMv10udgKsbxF+JwHDxd msuvSW9jl3394JT8quDkK7Mx9/08S7nGKzMTHlj5eIue6YMna08FEjFemZ4KefCcu3Z3 4Dpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=daWCo1RFCRJHeJIJbYudV3s6gpJF4K5dmJezag8Qxqc=; b=q1Ok6kBhl3PGKx0IroYK/j8AXK17ORClvGYpU1vu1B70GnODjd2GR1a753TM4ihdom tCK9rfRE25P2M8RdWvF9kUVoijL2Gmr9Ys/6Ihec2iFGJiVo24PUHXKX+erKKUnf2Xs5 9F1azSU9KizMLWQu45wjljlNmEi7y0i5TpeU4OScHqNg7VFZiCiImskcxqoA/Gse2XsE xAyoWFTc2lhg+bDw5GWh0KqVwNCh2dmQMHEfC1u5h/9Ii9AldwynGo0gcMoE/m3yKK48 tIWVZNSGAN/E0LDH9e6HX2CBu9dQqSOk8+0m68DrceXdAS+FMUPdQyB0pUehXC8Dnaqb RLNw== X-Gm-Message-State: AOAM532Kf/wIC7QdP/WJA39Uiqj00FbX4L/G31ORXNw70q/oauw6ykc3 BFUZWBTAwQtBp9TVJ0U3KrEWHndIU2psSg== X-Google-Smtp-Source: ABdhPJxIF3wfnvfDxTeIOMmGPLFmN7hQs1E4eU47akeBeJuybRbsqN+aPPzVy9tpPtD1sT/n/nNwzQ== X-Received: by 2002:a5d:4a0c:: with SMTP id m12mr6017594wrq.83.1600788434458; Tue, 22 Sep 2020 08:27:14 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:2047:2ab9:c10c:f4f? ([2a01:e34:ed2f:f020:2047:2ab9:c10c:f4f]) by smtp.googlemail.com with ESMTPSA id f6sm27290103wro.5.2020.09.22.08.27.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Sep 2020 08:27:13 -0700 (PDT) Subject: Re: [PATCH -next] thermal: core: remove unnecessary mutex_init() To: Qinglang Miao , Zhang Rui , Amit Kucheria Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200916062139.191233-1-miaoqinglang@huawei.com> From: Daniel Lezcano Message-ID: <6c4c2d70-e901-74e4-185a-8f8bb105f03b@linaro.org> Date: Tue, 22 Sep 2020 17:27:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200916062139.191233-1-miaoqinglang@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/09/2020 08:21, Qinglang Miao wrote: > The mutex poweroff_lock is initialized statically. It is > unnecessary to initialize by mutex_init(). > > Signed-off-by: Qinglang Miao > --- Applied, thanks -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog