From patchwork Thu Jul 28 07:02:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2274 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5EA2A3F013 for ; Thu, 28 Jul 2022 09:03:07 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id h15-20020a056402280f00b0043bd8412fe0sf544105ede.16 for ; Thu, 28 Jul 2022 00:03:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658991787; cv=pass; d=google.com; s=arc-20160816; b=Dm9WsgSDf/C/Uj33XDc8RrqYD8OUSxLD4AO3HmzZM5yr+ZDangujOA60325dol9/xJ 1ha7Gw06WE8MRCsypzqFUTnzf/YiQBT8tEMh0wIIPalrqJd3Tnt4MeQyQzuGFiTEFTfe NAN70umcprPu/pZn+Tr/32L8BRLcZv/V8BcfQfC42TSVlGvBOEvA2RP/QuYc3YDmT/Yg cDJC6vgidiHJ0sx/sXjTKraYe7va+V8OjmLMCn3V6tEcoBm+dSvhuo7uSzKe9V9NFd0o Zar6yyot6VQ3mPb2Kz/HATshBfOX+m8TF7y60ln6CzmKu6ILsbPcYaxQu5USnlOemU0c jAig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=rkm1Fxc9RipiGWt+vWTk+rvQXuCD0BPDXoNxKYvD72w=; b=d1v8Vd39XDZCXPWkjt192iJ6HQarJo5wColn4gfPH1ZFDJmg5lbAa51sSHUUtjMOmr KYcZw1GohzWCSjGcNzTp/fgUmaFX7S5L1sGAM+Kfm0Ph17EQRVF0BDZ5jdSKb1bXyVcv inQjmU7GVH0RAf4Fz2PIwiJCjq1G9RTLaRbnxXyZdwLj2HegwVfkQwmI5/sYC2u2kDrw cjZnnkkNOPpkJuNjvexVewVMfznl7UhdfqloMqUiiTIf0ncaa7dH9r4PTEeFCfHQ+3AO A7pU7VuDlYgf0zYoAybQQtp/8wBve8t8D80/H+yYYJGk/THpDGLhPfkxguOKH7VBSNpS O9xQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=H6c+CwG8; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=rkm1Fxc9RipiGWt+vWTk+rvQXuCD0BPDXoNxKYvD72w=; b=AfPCEMryNry0qS9q7L9IVlwnpQ1++dPZHdTx4h9Ac/0VZ9J8bhmNah/4mezitcW5zw rL9jxyPKcRPFfGG62tSHUx03j3hnL4DUA65cMY3vnLUpt77AcrzFsodLXFhtAYr1giLS YLO20u1epEzCSJ0QcyqyU0ivQQ2RwqK9PGzQg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=rkm1Fxc9RipiGWt+vWTk+rvQXuCD0BPDXoNxKYvD72w=; b=fI6XNzAyU5zNA0QRO6QWGNF3Lx9LENhmSXiuzeHjl7qv7VIQPY6k9J3oK/x6NRPqwp mSdpEAVNTWu0XuSY3s+/6jbsamRlmoIlTcJ5pHZaI4sQU4aS+3yhV31q1IzxNmF4QwkS pXFH4NdrddQKOUVxO91ziPRtoOXKakdZCYks6APT8kmkEaK4UfFBSEAa5BFs0gvahvLz i14xl0BwBJ4QbGslH4B/CzDaAhvJ0c/nhMneqc2D/NKufAyByl/8V1jJCiMWoz+oprZK wDX+fv81+yx2kbRyhQ7d4nAyCtaqfVe+wrrBJKwy6VRj/IoazjgN2m4ORvASsRDZGN6O z0Lg== X-Gm-Message-State: AJIora8gd7r++S82krUKq59w+EHgjm9QCw5/uVEqvIL3GGumt4i7/XLS soJ5nh1Gh5IzZMXSLGkjMcRLPHXd X-Google-Smtp-Source: AGRyM1tHbnRnOItCHKUKNAtmk18+W/1C1WkvbrZjuke8bza2ZQEGftiPYm30uR5/uDwFzdNIai1JtQ== X-Received: by 2002:a05:6402:34c8:b0:43b:e7b1:353c with SMTP id w8-20020a05640234c800b0043be7b1353cmr21381722edc.171.1658991787212; Thu, 28 Jul 2022 00:03:07 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:1115:b0:726:d068:52af with SMTP id h21-20020a170906111500b00726d06852afls431320eja.1.-pod-prod-gmail; Thu, 28 Jul 2022 00:03:06 -0700 (PDT) X-Received: by 2002:a17:907:2c47:b0:72b:9478:924c with SMTP id hf7-20020a1709072c4700b0072b9478924cmr20247768ejc.188.1658991786171; Thu, 28 Jul 2022 00:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658991786; cv=none; d=google.com; s=arc-20160816; b=w8Pa6nslRPjkoHc5tvykKUwJGnGElU7y3TPBKcXr4EvD4GEz40FHkGAAwqcaMVXx92 DdcuNzUcICrf7jPMu3ToXyoLLaRjLQTJxHzyKtPmz7/fq+8hL7Ee9/5whtWrouNQ3aKV BmRwiaukerrJ14mBcKdwdH6eJztezhTF8HxeB0MtwquRLPHFPPwWm4rMD5rFop0+69ls 3P94rciJqwgeV0n6oXAl8ij2cZ9iZq6xp6+3ucLTZ+e5CJ24vD2VulRHMVYGq8sI8kxb GVsc5SWD6sRmHBLk72vSy1z8eKJlelRhAlyNGYo8u3/+qdY7TupTAIWqfGKwms9hqyBp F+wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=OqbFbN5WONXbXcraJR8YQy0FCGLdvzQc4+bJ+5uxeJs=; b=HZ9wSzumVdHNNO2Mm02amxA5ga/PdNuCK6gAM4Brz9RMNEpHOrXwZLErITGmAPef1p F2YP0xwWviBsuss29GhTUah1/IDnff1u/wrn76Giogc+x5aEGGTlNk923yRvanGAN5Cq aV1SrRJurYaCVQclgxhXUxiznArc49E1kMxf/pO/abFQEo7KLnZXJm+mqHykAEAEsmKR 4rCrKnR7gEpSnyRA/gLsWHgMoLC4R+mb18PDDGo97FkeWtA0jtspGkgisLKHd8ncAV7M eTW8uQtKkLhZUgujiA1V1w9Pq68yrFMaSRxzezxPyniTfS6LVRc9JLIDcfJfvKnziX1j VtoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=H6c+CwG8; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ag10-20020a1709069a8a00b00723b6ad1a3esor54160ejc.101.2022.07.28.00.03.06 for (Google Transport Security); Thu, 28 Jul 2022 00:03:06 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:5d16:b0:72f:248d:525a with SMTP id g22-20020a1709065d1600b0072f248d525amr21052749ejt.441.1658991785810; Thu, 28 Jul 2022 00:03:05 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-31-31-9.retail.telecomitalia.it. [79.31.31.9]) by smtp.gmail.com with ESMTPSA id r18-20020aa7d152000000b0042de3d661d2sm154742edo.1.2022.07.28.00.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 00:03:05 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-can@vger.kernel.org, Marc Kleine-Budde , Jeroen Hofstee , michael@amarulasolutions.com, Amarula patchwork , Oliver Hartkopp , Dario Binacchi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Wolfgang Grandegger , netdev@vger.kernel.org Subject: [PATCH v4 2/7] can: slcan: remove useless header inclusions Date: Thu, 28 Jul 2022 09:02:49 +0200 Message-Id: <20220728070254.267974-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220728070254.267974-1-dario.binacchi@amarulasolutions.com> References: <20220728070254.267974-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=H6c+CwG8; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Include only the necessary headers. Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Re-add headers that export at least one symbol used by the module. drivers/net/can/slcan/slcan-core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/can/slcan/slcan-core.c b/drivers/net/can/slcan/slcan-core.c index 2c9d9fc19ea9..ca383c43167d 100644 --- a/drivers/net/can/slcan/slcan-core.c +++ b/drivers/net/can/slcan/slcan-core.c @@ -48,9 +48,6 @@ #include #include #include -#include -#include -#include #include #include #include