From patchwork Sat Nov 23 16:36:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 180119 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp919473ilf; Sat, 23 Nov 2019 08:37:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyM271tutJP8rx+HMucImJc4pAyTI+NNbtP2mC4zkTWax7WmEnS/kfcqGxoWCYjeNmpPGDB X-Received: by 2002:aa7:cf8b:: with SMTP id z11mr8018537edx.294.1574527043541; Sat, 23 Nov 2019 08:37:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574527043; cv=none; d=google.com; s=arc-20160816; b=iNenIJYPbtYiD5dAfK3NzMCm9SV0pZao7T4B/m2EnPqZWhE0iRJ4GtNBSfXpKzSLPA wMFeLrHuO4hKBEXOR3Y8to1JejpDrHmOgv6xShvkLx+wnWbZbCo8QVpwByxdXr1TC5fV 2hzCoal6YoPSgGafPhiSa9B4whCyb+AhmEVspAXwO8HXvtBKAg1TYpzwkp8D3jRGE+Lr qG39JvCDTkTVyxTRe73qFLMQYgWlnPj+PlcgCbZy9kjNku+4sdxqTl5GpLNKi79ZxxUP 4LDr4sEneIapNx15uHosX64tPh/nrtPSHmu7kX2wYvteWIIxNN9wg6oZPdL30aTmqfvE 2V9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=b2XnY177SuO8gk06SbcWRoYrsHQQpflhu5zyta4ZfZY=; b=kTe2jJdb0T9tjiWh0z4YVEXMAW19kTgg7big7RMnDASfpdLLfqLcf7SXx8vZijifLQ kJ4y3T7wX+2mNVOOidik0zdy5bT2mnkfHPuAcCU8FftQQeHs1hYwwXfCHzTp37fS3+q3 nDLXRMGajlOvzEgqgdFzzT8sdahPnyqPqTmev+jU9zxRcDa1Wg2kyctN33Wvy7VnBCh3 6koG5NeLClxH2DYdFQHe7Mg6muaJLFiBAlCjbMvsCMb2hkzZtgbQsINSU4iuKo2WAS4f Wa0C/+5uQs97LVab4PHkXGAfZ+jPFi/H7JpWQillTHme+Eom2PJLn1VA6IIH45R4dTkG UE/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=JxW6GxU8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11si1072551edb.425.2019.11.23.08.37.23; Sat, 23 Nov 2019 08:37:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=JxW6GxU8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726907AbfKWQhI (ORCPT + 26 others); Sat, 23 Nov 2019 11:37:08 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:64651 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726759AbfKWQhH (ORCPT ); Sat, 23 Nov 2019 11:37:07 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-08.nifty.com with ESMTP id xANGaggc001459; Sun, 24 Nov 2019 01:36:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com xANGaggc001459 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1574527003; bh=b2XnY177SuO8gk06SbcWRoYrsHQQpflhu5zyta4ZfZY=; h=From:To:Cc:Subject:Date:From; b=JxW6GxU8YEMUD+vsN/b/GH4gC1gIX6GzqB/QXDCzJfamqA7fRWHPiPBEd80DJ3CW5 tt5onb3HX9yT0+gfM/E7xDyf8Gh4WDDgsp5sP5maiziCuwJ2hS+40uy2MtvYdwGOz1 kKfu9weh2DpAuef6J0P/N5WkmZQsJwvJA/sEgsa9ZDKkZreHVgvT5GTFeKVcD3B7qi VxIKdgHdVXJmi7ofTsZRYm34XDa2HcpHya8L1rhVUiLdhBxLmPMVCdf0DDIudet4Op 4PmBqndX20kKhQynYWYhm+2Q4J4JotK0IcfZ3lLAan80+sDq6fS628fAuTjgVvG15O WRfrBuIawSJug== X-Nifty-SrcIP: [126.93.102.113] From: Masahiro Yamada To: Greg Kroah-Hartman , "Rafael J . Wysocki" Cc: Paul Gortmaker , Masahiro Yamada , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] drivers/component: remove modular code Date: Sun, 24 Nov 2019 01:36:32 +0900 Message-Id: <20191123163633.27227-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org component.o is added to obj-y. Hence this is never compiled as a module. Remove meaningless modular code. Signed-off-by: Masahiro Yamada --- drivers/base/component.c | 3 --- 1 file changed, 3 deletions(-) -- 2.17.1 diff --git a/drivers/base/component.c b/drivers/base/component.c index 532a3a5d8f63..3a09036e772a 100644 --- a/drivers/base/component.c +++ b/drivers/base/component.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -775,5 +774,3 @@ void component_del(struct device *dev, const struct component_ops *ops) kfree(component); } EXPORT_SYMBOL_GPL(component_del); - -MODULE_LICENSE("GPL v2");