Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1669245pxj; Fri, 4 Jun 2021 23:05:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu5/ER+IzLSp8TUHHxc8fds4dBdJNF8U6FN0kMOlUOytWCwkxjrUpNgr928oNxh7a5A517 X-Received: by 2002:a17:906:e104:: with SMTP id gj4mr8018236ejb.350.1622873146436; Fri, 04 Jun 2021 23:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622873146; cv=none; d=google.com; s=arc-20160816; b=kg4KMOgP6G5pWPuH44CLnOhuQ7GoPI7w9ikRw64Gwlb4HoJeC4tGWQHS/SoDFGF6jq pimPw5n/XCmcxF9C/3dnH46b/Prc0hIxNkTa9RyRJeX/VFtwVEtzAjFTYwZe25w8beuF ZbTOgTBThZIedLtk9nTkKh06bophftlWa+nkq0SCB2Y7T0ZlWHNq3E2WQrYD8nmAbiu5 l3mEwM5QSPheL+a0eVTB0m2J9JQgtEdOsnx8GtiekbB2jzn1yLzlN4GfeOhl2fwJ+w/s Z6DZy6czM3EPUCWqwInLcqasSMj9L5DoTBx1z1yv9R5vJO/ihl0M3+IO/bUnILkQzkNy JprQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=f9Wj/cFcMSLEZt3a7kmUO3fOZsRQwFcAJUxx6KOO8rY=; b=ByOIsLBr9QPwqDYa7Zx+qGal7je7I4a5I8T3Wuee9PtODdPh1ZS/lUyoaaUJs7/PQK 0TnFL3oSGJ6+WlRs/adkobeI+a2XWSM7wQx5XnkjUaSmvWYufSccqq4Q3kwuBPBKfZ6P 1+MBZG3vEFqrnl3CkcIMiyXZ69aTXDXiPB7N0/LDokrZZLR+CjJNpiZik0ZfctzAaWpR hwsWVbQFraLK8vUDzK7amnkmxzIe6Bw2bA7l6yqNzb2pmcqniaQbA++Z1JJB6MPpM4bu BZjlCaK/tvibRmPWX98e/WPNEUQpLbY1geUOjhK471N93aDZBneNYYqIGlJu0wjzfv7m DQAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=Lr0ZhORs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd8si7818664ejb.132.2021.06.04.23.05.23; Fri, 04 Jun 2021 23:05:46 -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; dkim=pass header.i=@126.com header.s=s110527 header.b=Lr0ZhORs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbhFEGFb (ORCPT + 99 others); Sat, 5 Jun 2021 02:05:31 -0400 Received: from mail-m964.mail.126.com ([123.126.96.4]:52522 "EHLO mail-m964.mail.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbhFEGFb (ORCPT ); Sat, 5 Jun 2021 02:05:31 -0400 X-Greylist: delayed 407 seconds by postgrey-1.27 at vger.kernel.org; Sat, 05 Jun 2021 02:05:30 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id; bh=f9Wj/cFcMSLEZt3a7k mUO3fOZsRQwFcAJUxx6KOO8rY=; b=Lr0ZhORsyHFgWlPb4xLcSe7PPpuYGRsTxy R36SVN4vmKe8kI9i90Q9NJDO84nEE8Us26ZtVpsRsqOHPWSVBNe+4nBI9esZ5iae 7ylxczMMQhO/iqEE3vIhqd4WyYc1tzF3gmGPiEx+bc0ynANxadAnc7cQjpU4qLuR E+3ME3pxE= Received: from localhost.localdomain (unknown [122.194.9.184]) by smtp9 (Coremail) with SMTP id NeRpCgA3Pn6oE7tgowxsXA--.16274S3; Sat, 05 Jun 2021 14:03:22 +0800 (CST) From: chenxb_99091@126.com To: Jiaxun Yang , Huacai Chen , Ralf Baechle , Paul Burton , James Hogan Cc: linux-kernel@vger.kernel.org, Kailong Subject: [PATCH] MIPS:Loongson2F:delete mutex defined but not used Date: Sat, 5 Jun 2021 14:03:18 +0800 Message-Id: <1622872998-7131-1-git-send-email-chenxb_99091@126.com> X-Mailer: git-send-email 2.7.4 X-CM-TRANSID: NeRpCgA3Pn6oE7tgowxsXA--.16274S3 X-Coremail-Antispam: 1Uf129KBjvdXoW7Wr4UKrWrWry8Xry7tr43ZFb_yoW3JFXEgF y2kw48urWrAF1fu3sruF15Kw429a4ruFnxCF93Gr95Za1FvF9xCF4vvry8Wrn0gFnIv34r WF48Cr45uF47tjkaLaAFLSUrUUUU1b8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUejZX7UUUUU== X-Originating-IP: [122.194.9.184] X-CM-SenderInfo: hfkh05lebzmiizr6ij2wof0z/1tbiJQqoxV3WHcRlSQAAs8 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kailong For 4.19.X, mutex clock_list_sem defined in arch/mips/loongson64/lemote-2f/clock.c never be used. So delete it Signed-off-by: Kailong --- arch/mips/loongson64/lemote-2f/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c index 8281334..aff58b0 100644 --- a/arch/mips/loongson64/lemote-2f/clock.c +++ b/arch/mips/loongson64/lemote-2f/clock.c @@ -19,7 +19,7 @@ static LIST_HEAD(clock_list); static DEFINE_SPINLOCK(clock_lock); -static DEFINE_MUTEX(clock_list_sem); + /* Minimum CLK support */ enum { -- 2.7.4