Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp963341ybm; Wed, 27 May 2020 12:18:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8T7fZgvZqqqX2GL9YXxOq9ARW3tly6Nbu2gsKXS973p90lzwRjz09k4IGJMwROrwtPJ1m X-Received: by 2002:a17:906:f212:: with SMTP id gt18mr7214420ejb.150.1590607104931; Wed, 27 May 2020 12:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590607104; cv=none; d=google.com; s=arc-20160816; b=v6yDDPOuUhFFoTqIsiVV5QiqfsfQm2a5eN0KGM15/Mu/fVPL62GRNxBqrPr8I+hUgl 2mhfXTIVosKLm3kLKi5H+U3r0VVj3ZM2f5VctlBHn6/E/IARjSZYjmAmoAAppAdARiad 3EverixIE8LWMcL0hZg/18OjYQ3YMueYA5XxaRzqUNy4SRRNOK2963D0vYdPKKqP5jhL ZMCPogXcXCAADSyM/14OAW/MIT/uwumozs/cIaK4SKBBBDkXZJaMkGIuLg/LE1jKPGQe d2St8DZGZvp1DmWnhQ5ceu/AC6gTEyCUJfCRSHK9x4TGLQ0gKpO/4gimIbtGM/W5mTw3 D3Ig== 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=YM4/U9R5Ai/FZVrK2lejcDvXTt4wGV0YuZreByw2PVw=; b=IQR+F9ae0QXWE4XeN6/IAAPJUOAykS5AmZuFC/T/TiuVQbREZnj4gAoFGTTAlpzmRB NrE/oUTB7aJZg6lNIsgdlR0ZsGaWEN9vBOYbI07Rl5KFZlkl9btqYtLfz5S2FszljtxM /tB3Ors55kNMHfqjul/Q/szusmxY5UUBKzRAhZKhuyoQW2zj+1BYNMeYtJZ1Li9GxL3o c+/dfFgDqWLoytCGSLnBuxIDzSxoUydYVTYZ0wVaDl5OMkTOkdu2Gl340lctlqA5mGPI M2uhWpnRwEXUzEn+8LQXutH9Fqy65ki0QOHoSXVGpmnwJVflnmuDsBLMmwteL/Nh9C+A MQDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=ONbNgPHl; 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 t18si2585686ejr.614.2020.05.27.12.18.00; Wed, 27 May 2020 12:18:24 -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=ONbNgPHl; 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 S2387902AbgE0RjC (ORCPT + 99 others); Wed, 27 May 2020 13:39:02 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:57438 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387564AbgE0RjC (ORCPT ); Wed, 27 May 2020 13:39:02 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04RHbktf180268; Wed, 27 May 2020 17:38:31 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=YM4/U9R5Ai/FZVrK2lejcDvXTt4wGV0YuZreByw2PVw=; b=ONbNgPHl5oyznl61QFZsiddnJ8sk22qW/2JbG05uDr5somsFFSAgsjdvWq9e3usiIQhb rj0gbapNPBTdUVF8Oya7JXLlxkP2ju17Z4tpjef90YGlAxgvXVxk5LV2K4WdnyDpOVKf KLNtdJCAM1+6phQr2LVCmReq/HlliB/k9uLA19jDYe+pHzUgodt7jogXxQGiaiYX602i irtZ77Nq4sKeW7GLn4yBQmAKtInuMxF8kfeO7lRxioy0jzM6uzjSaTvEI+S+LnLulL+K LpI5ZT2i3s+cJsn+19Kb1mFrCoXrP+V6KkYb9uurHjBEVpGbL9ek9KYOF4pngSz5t9W6 NA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 318xbk0vds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 May 2020 17:38:31 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04RHXcrv105464; Wed, 27 May 2020 17:36:30 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 317j5sfs53-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 May 2020 17:36:30 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 04RHaIa2012609; Wed, 27 May 2020 17:36:18 GMT Received: from localhost.localdomain (/98.229.125.203) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 May 2020 10:36:18 -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 v3 1/8] padata: remove exit routine Date: Wed, 27 May 2020 13:36:01 -0400 Message-Id: <20200527173608.2885243-2-daniel.m.jordan@oracle.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200527173608.2885243-1-daniel.m.jordan@oracle.com> References: <20200527173608.2885243-1-daniel.m.jordan@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9633 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 suspectscore=2 mlxlogscore=999 mlxscore=0 adultscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005270137 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9633 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 spamscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 cotscore=-2147483648 suspectscore=2 bulkscore=0 clxscore=1015 impostorscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005270137 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 Tested-by: Josh Triplett --- 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