Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp670249lqt; Fri, 19 Apr 2024 07:13:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUnp3+nMhEQcBQtXs9ZVzSlyHlle5WFlWujU8hXq5DHwzSE3Otxce98t8BtcAlwxQTMFTZxzW78WfLpzwK4bGWCZ6ttQKebcgiB34wqNw== X-Google-Smtp-Source: AGHT+IGWYrw8coOXu8cTrKfQuM51WJeMffa5INPV/z4iKpUqy0FEQNKVmumpVs3KOMax2B5xZDL7 X-Received: by 2002:a05:620a:5a67:b0:78f:eb6:ec09 with SMTP id wx39-20020a05620a5a6700b0078f0eb6ec09mr6703639qkn.18.1713536000559; Fri, 19 Apr 2024 07:13:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713536000; cv=pass; d=google.com; s=arc-20160816; b=GHRfkvJOtBCDCqet/RIxIn+4ipGuvGMGq9cswGaL3wZyMlAOYXFUhwZJPOm6gV583y ihBxdtK4zS8wj968FL+EP1bu/rCmWeb3c2/H+qrlZgRcMGHIXDwPabi37Z5z9S6IVh1w Qz1XJALlMoiBSXuPZWqnGsjx++GqMbFzprICstBIGJp/Jr3cObeyAmXAl+CSVYw+ZKoE s9IeHHcqqHEQLAHuF1Fao40aCrEIeap0ALYXUg/VKJwsf/0TkHY54HAO3MSFtpVX5TsV Y521ckjyM8PRQskmmymtgzdxCTAKy2fGzbR3ZK/vTw15tSwAGG1h8wTVrvkXInU+H1TG qyVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=wys6ZkDgxTEpvXL6YfKptglVkZTc+L3A3W2ruhO3H8E=; fh=5vAmcvBKUtt0p62XhZZPi5deRQ3Vquqr1lvgrhsELvw=; b=lNjE5uQhIvx5eZSZbUxmKM+WIaO2f5pCT3JZkYt6u/fONMaXwWs2i/pANfP6JEyUEW zTTeOyHHfru8eKEWsmNDj9PU4pHlVQrFl88VAlTI4zOk/r1ReBaKZXDjsi/1T+ViMwXf IArF8VnHpL3PPtwpNrnyfmNwaIk7XS3gxfM1QSe2GCzp9hckYjW6h27Xh2UHtW8+6tgj AQHICIQ+jySqbTpyf759H0cqEVxt+ZUv31nSsfpAYBYcz0KJR6VerjUiSQdbvzncA436 1sT7KujYIPj9pTWb/n6p/h6CsghSINzZG6De29A5pS73SAr83GojfowP1rRML2ZfoLr5 lSPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=UiOOSX2D; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-151556-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151556-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t2-20020a05620a0b0200b0078a35250c01si3878234qkg.387.2024.04.19.07.13.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 07:13:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151556-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=UiOOSX2D; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-151556-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151556-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A32B41C218C1 for ; Fri, 19 Apr 2024 14:13:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C86D12E1F2; Fri, 19 Apr 2024 14:11:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="UiOOSX2D" Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58F2C12DD90 for ; Fri, 19 Apr 2024 14:11:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713535907; cv=none; b=B0EecNqgWMuUIvynCeyuuwpkpm1oX0BqBf1xLG0rmUWpB6ju/c69Faivf5JheMCwPJd8yT0ZMqiDOryZ2VsdZoipwaRlIVJDhTufLzh1hBrxsWfh0IsX46ZWzOoFv3H9VkwMLZA90OBSzxrb/LDdpApTimT50CAEuMP5RCpI7yI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713535907; c=relaxed/simple; bh=lhuuhlHoSybByQn0SwSCUX4ACgq5MHGKsq4NUwZKxu4=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=DN9rZppkm5ha1ZX0ALRgpUBEpyzMpoY7RduquUmoGEYzrP5C0CJAvRElvaAEJIk9OgIcBlPGG8EAAaEkCIYmh5+LW/707fSomYVJdC805M5cIJ9Ne/IszEnhZdrdOOdwrslFoUfuOKfok/HnSoKOCxGojmI1LMm/FhcvB/moQ8E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=UiOOSX2D; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6f055602a7bso383196b3a.3 for ; Fri, 19 Apr 2024 07:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1713535906; x=1714140706; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wys6ZkDgxTEpvXL6YfKptglVkZTc+L3A3W2ruhO3H8E=; b=UiOOSX2DlMO7U9TZ+vxC/jv1gdvL39YdO/msZ/zuGeVVDQTNOYmmWnWpUwECplo7Gz eDP0TuZ/PgwFTZ4PVkZcYJw7i/apVF6uUF2EH/mWkTYnN9oobSVLgwHLf1KqwLC5G4vF 8BdiApGl68BKfGfeixLLymHH072rDGToHpc3d0X9roqjOlRUxpJIhpOwVMo+WyN1ptaX FYM4Ngvp0ISgnYgZ5hGAAAoII8WEjfvzj7EX+nId901af/Zw+yM3FKEnCU3Pjg5ERBJB Ui1PC91i3jNtKOk7Fs1DPh2Se7otXvT2LfVc4SprzDUb19t/REPx1UetJxTBqvtQU0cz jA/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713535906; x=1714140706; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wys6ZkDgxTEpvXL6YfKptglVkZTc+L3A3W2ruhO3H8E=; b=M8e9t0Lwcc43Bsnmm0dtZiNeMDu+tKzOE+lK3/Wdr4O01VQ9eDcHm3RxG8fOipXAxx 5GOl87NIl9e7jgE3bH+Eh0ne2hQXz7gpcWcQrSjtPOI3B+sLYLCDSuHOSxYc+qFPRjbI 2KocbqbaQh719BCmwfplgmRJJJrzkjGJT/+/83e7p3KlpgStJfwnI1wlups504vEntjX 8xk2GpJX3lxa+WkF5jVThOlNGJKfZB2D2Fqhbx3jOnlLRbFm3FKpuY71D4ukh07q8EkL hfRxtLQcLmdWxRvbXmjTTlWtpl53v/GTM4XsHSMeoi75BUdBjP7q13MkEj2t4kGieppk /3Kw== X-Forwarded-Encrypted: i=1; AJvYcCWn8PXgKjrhy4TmbYEF4Yj1GzJkySwf+sO/J8XuKj1YsTXKRlMX+gEvnx4a69NC5QIsRBd1KJ3zEAztY8XdI8MxYCzAnYj6HbBXLwZ1 X-Gm-Message-State: AOJu0Ywmt7efN4TO5YigbJZiO3i7WO4a4sNdMz3YLBiWbzgCJz5obKn7 ZTBsZ2q1Cf5vfOPVHwNoKOhVBy8lUwZEmXuTPlmZ+IpgcU16tDJkwHimuEqNoyBc+8W1bT+XXZu z X-Received: by 2002:aa7:838f:0:b0:6ea:6f18:887a with SMTP id u15-20020aa7838f000000b006ea6f18887amr2483792pfm.1.1713535905614; Fri, 19 Apr 2024 07:11:45 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.194]) by smtp.gmail.com with ESMTPSA id fb22-20020a056a002d9600b006eceaccaec9sm3240102pfb.131.2024.04.19.07.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 07:11:45 -0700 (PDT) From: Jens Axboe To: Jiapeng Chong Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot In-Reply-To: <20240419025610.34298-1-jiapeng.chong@linux.alibaba.com> References: <20240419025610.34298-1-jiapeng.chong@linux.alibaba.com> Subject: Re: [PATCH] block/mq-deadline: Remove some unused functions Message-Id: <171353590474.449375.12575665892825233453.b4-ty@kernel.dk> Date: Fri, 19 Apr 2024 08:11:44 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.5-dev-2aabd On Fri, 19 Apr 2024 10:56:10 +0800, Jiapeng Chong wrote: > These functions are defined in the mq-deadline.c file, but not called > elsewhere, so delete these unused functions. > > block/mq-deadline.c:134:1: warning: unused function 'deadline_earlier_request'. > block/mq-deadline.c:148:1: warning: unused function 'deadline_latter_request'. > > > [...] Applied, thanks! [1/1] block/mq-deadline: Remove some unused functions commit: 8294d49adbb06d7df8cfaca5a4f4eb9064a91b90 Best regards, -- Jens Axboe