From patchwork Fri Nov 2 19:34:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Heimes X-Patchwork-Id: 992543 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42msjC0pR9zB4X4; Sat, 3 Nov 2018 06:34:55 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gIfDW-0001qY-0g; Fri, 02 Nov 2018 19:34:50 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1gIfDU-0001qR-2R for kernel-team@lists.ubuntu.com; Fri, 02 Nov 2018 19:34:48 +0000 Received: from mail-lf1-f72.google.com ([209.85.167.72]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gIfDT-0005Vk-QQ for kernel-team@lists.ubuntu.com; Fri, 02 Nov 2018 19:34:47 +0000 Received: by mail-lf1-f72.google.com with SMTP id d5-v6so323977lfa.1 for ; Fri, 02 Nov 2018 12:34:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ZE5OHQHUPcHmMvpZbpDtnvb3TB+thJj7vhPLNtbV1Yo=; b=RVvKT3DCjrsuczJSKAtr65lHSWuWZIkMQ7TRD+t4vPgb9aB7sBtNCxr8eeR5SiTApQ J242yM5uoeW+Q/r0OFD0T5DziugwyQGtxRz5fMFrDLFiatXpszR6A/6yzmg3UXQN4MSR i7W1Jr6Majl5GILu3elV4ZhgMBItLtfqyPSY/5nrj6YDmy0zezW7OB9WMS4H6WC+S9Vj A1sW8bX3H0Nqkcvh0kWZK5Tvwd292NRCZxVv3dWgOsP6ZbLS2AGkVScAfS5MRdKwLwEh EDc++IKX/iXSSdVBdCvKbc5T8K0XX2jrRh7MTj710IwzhAZ7+0DjplkXu4fiuGgEX6Rz 4pSw== X-Gm-Message-State: AGRZ1gKFy8PK/y14i4XOJuhyOIdpg0n7JKnnH3LigdFBNQsNCgVF1ofc 79UDUv2/6b7aPF1+N6soBHTWB/j7leRw4LCegO+nm43iQ8zeiXqznvOWtEq1Y89nVanONfjGlj3 dE3cfoXQvKgfXSTT4GtOja932QRN/sI4WDiCkUNM+iXzFIzPs+xHeMtUKaQ== X-Received: by 2002:a2e:4502:: with SMTP id s2-v6mr8621325lja.44.1541187286989; Fri, 02 Nov 2018 12:34:46 -0700 (PDT) X-Google-Smtp-Source: AJdET5cdDcR7Se1XoWem/2jJTFjxPI5lgKdgPoPH6vKKHS+HC4astU2l9lq5PhMD0KxCWuPbRttlHrAOjp1b9dDqzeQ= X-Received: by 2002:a2e:4502:: with SMTP id s2-v6mr8621314lja.44.1541187286681; Fri, 02 Nov 2018 12:34:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Frank Heimes Date: Fri, 2 Nov 2018 20:34:35 +0100 Message-ID: Subject: [SRU][Bionic][PATCH 4/5] s390/zcrypt: remove unused functions and declarations To: kernel-team@lists.ubuntu.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Harald Freudenberger BugLink: http://bugs.launchpad.net/bugs/1799184 The AP bus code is not available as kernel module any more. There was some leftover code dealing with kernel module exit which has been removed with this patch. Signed-off-by: Harald Freudenberger Signed-off-by: Martin Schwidefsky (cherry-picked from commit 2c957a8ad45991f3ef71da5c75ed2299f3d46a31) Signed-off-by: Frank Heimes --- - #endif /* _AP_BUS_H_ */ diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index 48d55dc..743594e 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c @@ -1226,11 +1226,6 @@ int __init ap_debug_init(void) return 0; } -void ap_debug_exit(void) -{ - debug_unregister(ap_dbf_info); -} - /** * ap_module_init(): The module initialization code. * diff --git a/drivers/s390/crypto/ap_bus.h b/drivers/s390/crypto/ap_bus.h index e0827ea..951ab59 100644 --- a/drivers/s390/crypto/ap_bus.h +++ b/drivers/s390/crypto/ap_bus.h @@ -240,7 +240,4 @@ void ap_queue_resume(struct ap_device *ap_dev); struct ap_card *ap_card_create(int id, int queue_depth, int raw_device_type, int comp_device_type, unsigned int functions); -int ap_module_init(void); -void ap_module_exit(void);