Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp770299ybk; Wed, 20 May 2020 11:30:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm0w0G214hQ/eyjH0fL2nT7fXiUr0oQTnwLCFnihmO6inJwqURDbWsXiir8J6HZMhyzOid X-Received: by 2002:a17:906:34c4:: with SMTP id h4mr363681ejb.167.1589999412786; Wed, 20 May 2020 11:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589999412; cv=none; d=google.com; s=arc-20160816; b=OOOQeaukaaKo3BGqAkJgcOMM04wAm5p8T9RZhPkUtrrBoL/GY2auZz0C6oYsU++0Iw RkOam5zeXUyVkIWXOgsjWAs/x72BBEEl2wYMiUZlmY0lE7LOpq+AdwkORqLhMJN1n4th tQUSYt4TjtOR7PZRJv+L6J87CWI5AJq6eR+QfpZxyvW02nZw+mMAnLntNZFF19Aq/CVi RdeDgjud68OpDbYxoAK9xbMokAiI2qDBQiSIclJHbDJzVRL61lyHvmtpWglRec+Tes5b JPjxhPjpZHsjIbCOC6+t4Coyj/pJyuUPs6XMTHdiHNJH0CvLHl7C7Qye3bTFtdon92V+ IsJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nN6DbGwF8FnkPi4tkPEPNI6ezoScQhlz0u39zLEZexY=; b=nor4ihOK/7XN97HmSCM0qTCsNH+/uD99ikYGn+UKUGzqtNGceIyXlmWpFj5nhGY2S1 3W65KtWEAJ5yls8XeAeQk9h4s+Oi2CaMD2zQL3j2ANUNL6WG51PSRl4A4rOwHQqt262t bJN72F6nKvZU+ZSa1JxTWzU+Mj519wMogmh5i1eBKObN48mFjCgNz6XP0TJ2dlXXkYZC b4Q/KkK6gpVS3s2BY6BoaBNhJ6IKTF83YCVfDPQu05xoJGzQRq/OUfGARzdbyK5778cG zfLaMNBsLyDYvsDk9Z3Bl7Wpmswnd62Tv/ZMycwAz6ZvZ/aSG3w4gVFubnROaKsQe1cl P1gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=k7X5PZyD; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u14si1881021edd.346.2020.05.20.11.29.48; Wed, 20 May 2020 11:30:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=k7X5PZyD; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726720AbgETS3g (ORCPT + 99 others); Wed, 20 May 2020 14:29:36 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:57820 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbgETS3f (ORCPT ); Wed, 20 May 2020 14:29:35 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04KIHIMa176596; Wed, 20 May 2020 18:29:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=nN6DbGwF8FnkPi4tkPEPNI6ezoScQhlz0u39zLEZexY=; b=k7X5PZyDCEvcOKbFcm1+WBoe31bPk0AUe7csxpHau/kt1u8OuI3cZ3719/Faaq8TGZDe a7DlcYbdJbxeAXv+mzP5oR94p6M909+YfUSpUySH0UtKxOOm970grYk/Dqu+hRijmcdX qlbOMrVnDDwByiWf2BHSOtfvj1Kk9SpIMioqoT2waKlPssRdWj/wN79mqRtHeqA1ZC2p vraFINUmezkjw/pddUoJ2e6o+mY48/Xl4nqxPTPhMSpqhNeLEdsTagu/EYgW87bWB0FG 1inxzUGkTGXLHbsPHxHsGKpfxekYMdCxGoj6OFCf/f8yFUl/cfqcBi4Jx5KWVa7gGZfN FQ== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 3127krcrqx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 May 2020 18:29:03 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04KICTfd099424; Wed, 20 May 2020 18:27:03 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 314gm7hpgd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 May 2020 18:27:03 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 04KIQsn7016354; Wed, 20 May 2020 18:26:55 GMT Received: from localhost.localdomain (/98.229.125.203) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 20 May 2020 11:26:54 -0700 From: Daniel Jordan To: Andrew Morton , Herbert Xu , Steffen Klassert Cc: Alex Williamson , Alexander Duyck , Dan Williams , Dave Hansen , David Hildenbrand , Jason Gunthorpe , Jonathan Corbet , Josh Triplett , Kirill Tkhai , Michal Hocko , Pavel Machek , Pavel Tatashin , Peter Zijlstra , Randy Dunlap , Robert Elliott , Shile Zhang , Steven Sistare , Tejun Heo , Zi Yan , linux-crypto@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Daniel Jordan Subject: [PATCH v2 1/7] padata: remove exit routine Date: Wed, 20 May 2020 14:26:39 -0400 Message-Id: <20200520182645.1658949-2-daniel.m.jordan@oracle.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200520182645.1658949-1-daniel.m.jordan@oracle.com> References: <20200520182645.1658949-1-daniel.m.jordan@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9627 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 adultscore=0 phishscore=0 mlxscore=0 spamscore=0 suspectscore=2 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005200148 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9627 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 mlxscore=0 impostorscore=0 suspectscore=2 mlxlogscore=999 malwarescore=0 cotscore=-2147483648 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005200148 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org padata_driver_exit() is unnecessary because padata isn't built as a module and doesn't exit. padata's init routine will soon allocate memory, so getting rid of the exit function now avoids pointless code to free it. Signed-off-by: Daniel Jordan --- kernel/padata.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/padata.c b/kernel/padata.c index a6afa12fb75ee..835919c745266 100644 --- a/kernel/padata.c +++ b/kernel/padata.c @@ -1072,10 +1072,4 @@ static __init int padata_driver_init(void) } module_init(padata_driver_init); -static __exit void padata_driver_exit(void) -{ - cpuhp_remove_multi_state(CPUHP_PADATA_DEAD); - cpuhp_remove_multi_state(hp_online); -} -module_exit(padata_driver_exit); #endif -- 2.26.2