Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2744368ybz; Mon, 27 Apr 2020 03:48:31 -0700 (PDT) X-Google-Smtp-Source: APiQypLKKAxENu/3bEhiCI2Dx5HN3baKVOhOsGbpFXk4qsjKtTydNJizk1L7Y5cvgMLloSfHKFBr X-Received: by 2002:aa7:c608:: with SMTP id h8mr18427686edq.232.1587984511094; Mon, 27 Apr 2020 03:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587984511; cv=none; d=google.com; s=arc-20160816; b=oEOvGdvfyECRHwok7l9A/KwP1zWJScYLUUazFxobZR989EfBFTizvmgZjvyvcE+1c2 WfMoy1/CwGD0DYtCl8fH4AGFSlOcP1vFn+auv2aQ13ZvR5snF4o371JKPcY3eU62Mrop QDI4/K6ZcIhwnahh7PUDpTIOctuPUSGPU3gIXPdk7SeqntXCEEUw7f+kpjUaXhbfdT/W ukNlBGVsrER5E+yMtXs9TKC1KkuImYGJ36m2NUZLDiA/5fz88i8TXAt0JlkXwoZJafko yobAz5i5qpR3Rl8BFheCL7Bhhqt9GGQFaRF/9uS+6PKkeOukvQmiG5f13yW9S3D7APoA x2TQ== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=zGOBxKpG1rIABCLusFQOC7GVHZZvhPlPVJ75GXvlBi8=; b=eWsjNVh7p1fQ12wxaZt63G1ffC9Tfja1h8sHfp9hD19BBX+SB5ObCnkQKD2W6/pk7h 7zrugGlzlsbqN94ELvtyb5PskVR22w3KazDvmr5cum+CDEiokWD8K1o8MyQeI+UX4IC9 YUpVUn1uJousofxbMLkYFqKu0XrZJRoVzR7pjPsmLjvhGPqyK5XCRWvn9bfHP/R0oSvq etdysIGfULS3JBscwzCsD99w1yjn82ScYPey+a8Slz101JRUJFAEs8paNthd+2O3BwJg eYs+W3cYnOie72KMsTGXdh8UZUh7X8bwSYBRIensV1B9+dGxTk6SXYCjKfwkihjvaJ1e iagQ== 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 u25si7283853edi.574.2020.04.27.03.48.07; Mon, 27 Apr 2020 03:48:31 -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 S1726994AbgD0KqF (ORCPT + 99 others); Mon, 27 Apr 2020 06:46:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726507AbgD0KqF (ORCPT ); Mon, 27 Apr 2020 06:46:05 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 247F9C0610D5; Mon, 27 Apr 2020 03:46:05 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jT1Gx-0000QU-NI; Mon, 27 Apr 2020 12:45:59 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 5AE371C0131; Mon, 27 Apr 2020 12:45:59 +0200 (CEST) Date: Mon, 27 Apr 2020 10:45:58 -0000 From: "tip-bot2 for Alex Shi" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] locking/rtmutex: Remove unused rt_mutex_cmpxchg_relaxed() Cc: Alex Shi , Thomas Gleixner , x86 , LKML In-Reply-To: <1587135032-188866-1-git-send-email-alex.shi@linux.alibaba.com> References: <1587135032-188866-1-git-send-email-alex.shi@linux.alibaba.com> MIME-Version: 1.0 Message-ID: <158798435889.28353.3343865646156622642.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/core branch of tip: Commit-ID: 23b5ae2e8e1326c91b5dfdbb6ebcd5a6820074ae Gitweb: https://git.kernel.org/tip/23b5ae2e8e1326c91b5dfdbb6ebcd5a6820074ae Author: Alex Shi AuthorDate: Fri, 17 Apr 2020 22:50:31 +08:00 Committer: Thomas Gleixner CommitterDate: Mon, 27 Apr 2020 12:26:40 +02:00 locking/rtmutex: Remove unused rt_mutex_cmpxchg_relaxed() Signed-off-by: Alex Shi Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r/1587135032-188866-1-git-send-email-alex.shi@linux.alibaba.com --- kernel/locking/rtmutex.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c index c9f090d..cfdd5b9 100644 --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c @@ -141,7 +141,6 @@ static void fixup_rt_mutex_waiters(struct rt_mutex *lock) * set up. */ #ifndef CONFIG_DEBUG_RT_MUTEXES -# define rt_mutex_cmpxchg_relaxed(l,c,n) (cmpxchg_relaxed(&l->owner, c, n) == c) # define rt_mutex_cmpxchg_acquire(l,c,n) (cmpxchg_acquire(&l->owner, c, n) == c) # define rt_mutex_cmpxchg_release(l,c,n) (cmpxchg_release(&l->owner, c, n) == c) @@ -202,7 +201,6 @@ static inline bool unlock_rt_mutex_safe(struct rt_mutex *lock, } #else -# define rt_mutex_cmpxchg_relaxed(l,c,n) (0) # define rt_mutex_cmpxchg_acquire(l,c,n) (0) # define rt_mutex_cmpxchg_release(l,c,n) (0)