From patchwork Fri Feb 23 03:55:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 13568551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AEF1EC54798 for ; Fri, 23 Feb 2024 03:56:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 544446B007B; Thu, 22 Feb 2024 22:56:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4F5C36B007D; Thu, 22 Feb 2024 22:56:09 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2D2136B007E; Thu, 22 Feb 2024 22:56:09 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 1802A6B007B for ; Thu, 22 Feb 2024 22:56:09 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E4F661A0FAD for ; Fri, 23 Feb 2024 03:56:08 +0000 (UTC) X-FDA: 81821705616.05.693B575 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by imf22.hostedemail.com (Postfix) with ESMTP id E9527C000D for ; Fri, 23 Feb 2024 03:56:04 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf22.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.190 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1708660565; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R0nOSNZsb4CeAnXpl60Oul9hhJXj4s1J4+DM00CqciI=; b=V0LMGW4L4YhxBUV6BO2igNz1pbfGic1vRl1KNJbfs6fGQVP75tgMrxnqWVv3vcBu7QyXXk IEjdZT2k8GIyzZd8KazFFXDIaoVgyRjRho7yeFqjgfV5NOY0pQOs5jEkXFg+oXMv5qHVKp PG1EpNDZpE34fqhNsltWXTrDbKI3V/s= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf22.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.190 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1708660565; a=rsa-sha256; cv=none; b=MYntfm3fUpIlOHjbrdEm66Z2FqYBQiQ2gsFd0mpGHxecx5Nhj3a7BAKRZQi3JFHPHD2wzs Y80cwLsxIcE46mNRYWmlxx/EJK+sJzBF3beQ0tTPXfUkmzwN811Al0DczjsF3/IQZ/A/Xh 0b+nGFo3B0Qha7kXgRo9KHKj189Cozg= Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Tgx3J0qT7z1xpBD; Fri, 23 Feb 2024 11:54:36 +0800 (CST) Received: from dggpemm100001.china.huawei.com (unknown [7.185.36.93]) by mail.maildlp.com (Postfix) with ESMTPS id 92D6C140136; Fri, 23 Feb 2024 11:56:00 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 23 Feb 2024 11:55:59 +0800 From: Kefeng Wang To: Johannes Weiner , Yosry Ahmed , Nhat Pham , Andrew Morton CC: Chengming Zhou , Huacai Chen , Minchan Kim , Sergey Senozhatsky , , , Kefeng Wang Subject: [PATCH 1/5] zram: zcomp: remove zcomp_set_max_streams() declaration Date: Fri, 23 Feb 2024 11:55:44 +0800 Message-ID: <20240223035548.2591882-2-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240223035548.2591882-1-wangkefeng.wang@huawei.com> References: <20240223035548.2591882-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm100001.china.huawei.com (7.185.36.93) X-Rspam-User: X-Stat-Signature: righwwtww8f6frhrc4ym76snyfh3hntc X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: E9527C000D X-HE-Tag: 1708660564-672627 X-HE-Meta: U2FsdGVkX1/jBXSRhmCO35skLF4XeqpHwonv162J8l88e5bUXVSHYE3VQrG9e1BFxg4kT9XLQidfSok7vLD3GB5GIsPHpmDRKQx9nLslrpZ40SrORlIS2CbEMRin4psIixIdfKbgML8IYxUb+v1F9dfvcrcTPqZKSCDUvUhXU6GQBjgabmWrOpFq4vpIdQU9WE2xcTmi1HZ3jSJtmvIUPcohbpaZXPISQeAadGeHkhXXQY23lax7jbJeX6GpNNGE9aanSR7dcJldfNMqdryeMf6P0M4C0C7DpbaEXibJghkiH5pb1X8j32CVLm4Y2VQF9AT8dlKzyFpifpygBg7zvwt8ByspUualIQ2VKberDu9pAiS4S/qWTL+QI3XkG1UN+7KutBHc7Riaq3dpPc4Sp7f/CFfR9OrFrk614Yi8nRsRBmnCg6Oiv/IIKuR1H3INmR02UQJBvXyMBAV1PkHfzBclQz7wJjEFDsMcKNG2VGKanrMAVhfsxaPutWnqhku2ZyT5qxsR5rkK43LezZUFqjWOCwW+u2PDdh+l5lSVfQqs//9cu4X//oRbtCX6lKxnPyCPrF3moIbJXEJmlsY2FzISEkjMzLojIWGddRahPXm8HFWogXx14nkZu0X8W9coV4fmj0DW1l/e2QSP/c3l1BhD6wT1WKubceQHcWH7NJjO6J+3Fbhzein+S5DOHcTgrswjb/6cNDVs96aPVHFnxs5Ix56Kn41qf7gzLKHT/hid7BMrKVVoTNLg/OmiWcgZ/MwOuYeSX32CtTOqE40EXRsLXUocpOuUuR5o//Y+Bnby3KHXg1jbSXaQFg2Jw7rPtTtsLOSsTZi+lihaSIdQPIOEZC4dBI2Q+2Xtj1doToKLQl12DR0t3cMJ0GJyhVVyXoTPzWvA1Tk= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: The zcomp_set_max_streams() is removed from commit 43209ea2d17a ("zram: remove max_comp_streams internals"), remove the declaration. Signed-off-by: Kefeng Wang --- drivers/block/zram/zcomp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/zram/zcomp.h b/drivers/block/zram/zcomp.h index cdefdef93da8..e9fe63da0e9b 100644 --- a/drivers/block/zram/zcomp.h +++ b/drivers/block/zram/zcomp.h @@ -39,5 +39,4 @@ int zcomp_compress(struct zcomp_strm *zstrm, int zcomp_decompress(struct zcomp_strm *zstrm, const void *src, unsigned int src_len, void *dst); -bool zcomp_set_max_streams(struct zcomp *comp, int num_strm); #endif /* _ZCOMP_H_ */