Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1852780lqb; Sun, 26 May 2024 22:22:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXq/4GlhXWySnuena7P8bHTZDTUVRiCiq/bGgXwh23iZvZlSiIcAquu+u7vezKs5WTBhUx7dD2cTJS5HUMWiJy/wy9K4n2Aw0k22ljdYw== X-Google-Smtp-Source: AGHT+IHA/lqHYxntpetQYXumWdSI1fa4Rwp5hXkPAdB2vLeMvfxwQeSVf5aNfodQzfC8cXW0qQZX X-Received: by 2002:a25:6809:0:b0:df4:d367:6bd6 with SMTP id 3f1490d57ef6-df7721a7909mr8692736276.29.1716787351911; Sun, 26 May 2024 22:22:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716787351; cv=pass; d=google.com; s=arc-20160816; b=mNl3NZS02Wog6CqgECo+9arr0AR1z4G1DNVTV+ixzd7bS03ZMeLeJWmf9gJygrJ+pE 7pSdtzquogxiCWhHBtqrIpw4C18qHQy89Hxz130mQcnTZixccrim7eAXWSDwIGPRqRzI PQ/W3rtNqTAfhyaJ/f/o7/h+Gd3/vPtavMkLYzacBgNc6FZYYzY9iFSVs6bl+MDJ0EHF RqVzVKOOBd8e3IGZojcCrcUHZokAJiB8h5nX1oD+t6cMN8xjcUK5iuWkZQq78xQt8h2G LxDDbkkOnEfI6Dqm7h68kFFAEVSamyNY/UtAF3ZmmPGMXpqRG1ez0qL/aDXTkGVruQFS l0BA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:dlp-filter:cms-type:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=awyLAV62P7hclJArbyXEX4hZ9QRa3kG0YZKRWaBh8rM=; fh=wrMOWhjDHT/ig79USwdgE38YFYq5nyHUffGgL/p2YDw=; b=mmtf3IUM6gCROilA5WM0gg4NTX2piVpistetQvqPWgTxO9SwKGCKWSp8Q8NFeLJCz6 jcJMpnaJgt+C0iy7mDXMiHrXtJs5m807seSS9jVE+oNp6M5+XwYBOK3UUHIaTt04JwiT 71XN8y7wIqRzobnVMjVp+SPzqG535w1uQrBsmM+NR2n/uyQ9TZ0cv1fDyaZFsdqIag0o YQF4E8MdlhGGD6JU1XX/CYhSL8d05gn4KsurNeYaYRtcJrEqxBc40t8FFsWq4KGSq2nU FxYimklWSDR8vKoQzzENXUcGBaa+NwdB+4xNMQBqp7SkGeaZJVilHnCLbchcgBmQHk2S bYkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=fDpBrjaN; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-190039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac162b0229si72725836d6.432.2024.05.26.22.22.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 22:22:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=fDpBrjaN; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-190039-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com 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 3D0661C2126F for ; Mon, 27 May 2024 05:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9EFBD1078F; Mon, 27 May 2024 05:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="fDpBrjaN" Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8667FBEF for ; Mon, 27 May 2024 05:22:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716787344; cv=none; b=byV8MIBhveBaJnLYxLFJG01fBnw2Lu0N7owbcqx1ALZI3usZEXD7ljZFlduSTXG/NaMj2BDGTxtI9U0YJ2zV5bEOdeNsM/aHM4TcaKkvSTmuEfkJmnRrKD5sE0D5zhYhzdEAlGKrJj2Yu/RFsx6GIoaD+UDstC2pQH46KdyxBY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716787344; c=relaxed/simple; bh=GzrNcN+pMuO3nMQV17c8CbPgA62GGIKJYjsQXEmkLWs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: References; b=G1zX14YEeG7zk8WWigvLy1LaJpihsft557Cbf+8VRAmZBr7hjiF0EzO99MxDCCBAe8V0YlX8LjBolSIompM4eSKKJ6htbIGGrQ7w5Ou9wcpKg34Xw39xzx6+NFTyZUdr87dYzIDCiANdG/2TUAHSC/ExjYNQ6nAZZnDTLrJrYuE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=fDpBrjaN; arc=none smtp.client-ip=203.254.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20240527052219epoutp04b53cfa75d10c86c9d676414ef3bf9a1f~TQP1AgTxa0069000690epoutp040 for ; Mon, 27 May 2024 05:22:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20240527052219epoutp04b53cfa75d10c86c9d676414ef3bf9a1f~TQP1AgTxa0069000690epoutp040 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1716787339; bh=awyLAV62P7hclJArbyXEX4hZ9QRa3kG0YZKRWaBh8rM=; h=From:To:Cc:Subject:Date:References:From; b=fDpBrjaNjg4RKsrS4C0oJtJFyNp/bvCVdxDG5FKvRW/UfSd43KHJEtQhQmpvTQUrg Rw9AEA2M1CT7o12K3lUQYfRVNJ+x3SnGodpziV5t+snfDjo5c6PKiR0msWKi8iocDM kWSingxhDf+qmlb8Rb4Fe3IcuZXBe9CwtF54smgc= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20240527052219epcas5p38280c9e2b3301ec637ac6245fc76132d~TQP0o7-Yw1654916549epcas5p3_; Mon, 27 May 2024 05:22:19 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.178]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4VnkY518LWz4x9QB; Mon, 27 May 2024 05:22:17 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 00.3B.10035.78814566; Mon, 27 May 2024 14:22:15 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20240527022944epcas5p16011e653d1f770cd11bc760f39c17ad2~TN5JPSfcD2621326213epcas5p1T; Mon, 27 May 2024 02:29:44 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240527022944epsmtrp1dd3ed2e22fd8d71d7c406b471dd523f4~TN5JOc0VH2915229152epsmtrp16; Mon, 27 May 2024 02:29:44 +0000 (GMT) X-AuditID: b6c32a4b-8afff70000002733-02-6654188746a9 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 39.BD.07412.810F3566; Mon, 27 May 2024 11:29:44 +0900 (KST) Received: from testpc11818.samsungds.net (unknown [109.105.118.18]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240527022943epsmtip122daa5729b4c5b2cbf3e1d7f6cc27ffd~TN5IYsvNE2193421934epsmtip1r; Mon, 27 May 2024 02:29:43 +0000 (GMT) From: hexue To: axboe@kernel.dk Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, peiwei.li@samsung.com, ruyi.zhang@samsung.com, Xue He Subject: [PATCH] block: delete redundant function declarations Date: Mon, 27 May 2024 10:29:26 +0800 Message-Id: <20240527022926.1331950-1-xue01.he@samsung.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNKsWRmVeSWpSXmKPExsWy7bCmpm67REiawdP5xhar7/azWfzqvsto sfeWtsXlXXPYLJ7t5bT4cvg7u8XZCR9YLbounGJz4PC4fLbUo2/LKkaPz5vkApijsm0yUhNT UosUUvOS81My89JtlbyD453jTc0MDHUNLS3MlRTyEnNTbZVcfAJ03TJzgNYrKZQl5pQChQIS i4uV9O1sivJLS1IVMvKLS2yVUgtScgpMCvSKE3OLS/PS9fJSS6wMDQyMTIEKE7IzVnx4x15w hrXi4swrLA2MV1m6GDk5JARMJI5cf83axcjFISSwm1Hi7+5HzCAJIYFPjBI/V8lCJL4xSqzr /sgG07H02iOojr2MEq8W9zBBOD8YJX7s72IEqWITUJLYv+UDmC0iICyxv6OVBaSIWaCXUWLj tLXsIAlhATuJBRu2gRWxCKhKvH0yFewoXgFriaVT1kKtk5e42bWfGSIuKHFy5hOwGmagePPW 2cwgQyUEDrFLtDy4DvWRi8T1P3OZIWxhiVfHt7BD2FISL/vboOx8icnf1zNC2DUS6za/g+q1 lvh3ZQ+QzQG0QFNi/S59iLCsxNRT65gg9vJJ9P5+wgQR55XYMQ/GVpJYcmQF1EgJid8TFrGC jJEQ8JD4+s0ZEqSxEtfWP2GfwCg/C8k3s5B8Mwth8QJG5lWMkqkFxbnpqcWmBcZ5qeXwiE3O z93ECE6FWt47GB89+KB3iJGJg/EQowQHs5IIr8i8wDQh3pTEyqrUovz4otKc1OJDjKbAIJ7I LCWanA9Mxnkl8YYmlgYmZmZmJpbGZoZK4ryvW+emCAmkJ5akZqemFqQWwfQxcXBKNTDZnfqd 9a716/6Z8Vl1bVe75ufNPPRC2P/eNPcn8aZnY2R2xR1cOC3O+fuzd8e5VPguuN07uivx897S ooDEVxcP7DZpMmfn2Nd3LctNsGHPtadr9GSy3V+Vhx25a7jwY2XkJC3h+ZNqNcrC61/e/P1m e/akyjKv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N2N3/+L37kxL/6uRrdb/P7PfPWLVMXHzleLl6i5Xl 1PWyi+NiD/kosRRnJBpqMRcVJwIAr3KfubsCAAA= X-CMS-MailID: 20240527022944epcas5p16011e653d1f770cd11bc760f39c17ad2 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240527022944epcas5p16011e653d1f770cd11bc760f39c17ad2 References: From: Xue He It is used in block hybrid poll, the related function definitions have been removed, but the function declaration has not been delelted. Signed-off-by: Xue He --- block/blk-stat.h | 1 - 1 file changed, 1 deletion(-) diff --git a/block/blk-stat.h b/block/blk-stat.h index 17e1eb4ec7e2..5d7f18ba436d 100644 --- a/block/blk-stat.h +++ b/block/blk-stat.h @@ -64,7 +64,6 @@ struct blk_stat_callback { struct blk_queue_stats *blk_alloc_queue_stats(void); void blk_free_queue_stats(struct blk_queue_stats *); -bool blk_stats_alloc_enable(struct request_queue *q); void blk_stat_add(struct request *rq, u64 now); -- 2.40.1