From nobody Sat Feb 7 11:41:36 2026 Received: from out-187.mta1.migadu.com (out-187.mta1.migadu.com [95.215.58.187]) (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 89D5F2FF679 for ; Tue, 9 Dec 2025 15:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765294262; cv=none; b=iON7g5LMNICgYkf8c6G/nL907B3dkxTvpZBJ7D5wsAiDZXdFiPhWb/YH+Gr/Tjd9rNShkcOG7tzopTl/fdgmw+CW6eSnYxgCDUBzlQOCWJHuS7/6095vUtCoordCPLOFYzxlFwXJwEvrv16OjphWuXTAQjaKp8ykJeHoUGNpMfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765294262; c=relaxed/simple; bh=bJN65gY6giKFu5Hrvj15qyRLsJ7kUce0SDLwJOguP6Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AigdL969J+Ndl6xxVk45JwaNDwWZabpplmQHiumbQEXLeHh+LLpupZODq3DLIGeq2Z37V7dzxlyZYSRYVx1WXGvzjDNZRUXQAwc8OM2gzQ3A/vNq+QvB5yqcC7q+D60N8bXXAmfqPOodsxV/LGioWfyC3oS0D9MjyyFAR9FoFhk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=GX7JYClW; arc=none smtp.client-ip=95.215.58.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="GX7JYClW" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1765294257; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=QogldAY8o/J4mynBEBOsNtgJwwEQdVm7q8XblZZv1qI=; b=GX7JYClWzmtOeVO6OqYsIw7zNEUpFv5bv1kPpdmFi1TTbACgauTfHtDX65qSOg1trrtN/+ eIzDDrpFQcTd2hJzpoZolcxwWLtQooO3hcUeQVaqvYCoU2tzf+krYeyfC8Uamow5J1O+fN E8hSOUUn0d/YFEZDLGBXBfhDauNXyxQ= From: Thorsten Blum To: Herbert Xu , "David S. Miller" Cc: Thorsten Blum , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: scompress - Remove forward declaration of crypto_scomp_show Date: Tue, 9 Dec 2025 16:30:43 +0100 Message-ID: <20251209153044.432883-1-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Add the __maybe_unused attribute to the crypto_scomp_show() definition and remove the now-unnecessary forward declaration. Signed-off-by: Thorsten Blum --- crypto/scompress.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crypto/scompress.c b/crypto/scompress.c index 1a7ed8ae65b0..70ceb2fe3d7f 100644 --- a/crypto/scompress.c +++ b/crypto/scompress.c @@ -58,10 +58,8 @@ static int __maybe_unused crypto_scomp_report( sizeof(rscomp), &rscomp); } =20 -static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) - __maybe_unused; - -static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) +static void __maybe_unused crypto_scomp_show(struct seq_file *m, + struct crypto_alg *alg) { seq_puts(m, "type : scomp\n"); } --=20 Thorsten Blum GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4