Message ID | 20220726210217.3368497-3-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBH5NQGLQMGQE5XS4PDA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 011293F081 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 26 Jul 2022 23:03:28 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id x20-20020a05640226d400b0043c37fa024esf2773794edd.12 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 26 Jul 2022 14:03:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658869407; cv=pass; d=google.com; s=arc-20160816; b=fqz+7f3yaH3pZ8L+99HdR+Z1XX4A/JOC3oM/WrFoFrDiQ71KrrRy8/PSepO6Lcf6fE twf8rJ/8SgPfXU3tRH+xmr4dgdo49AIj1SZGlSxMp8yZpqqbV6sUeIpVr4C/+J7XDG5J Zv0Tl6daeNmv4iooukfTYPr3z/bMeZbTM4YEBBOIlj9hY9OJJOU0EG9fyep0YJAbQp7d 07om1tzFItCA2X9NcPsQVdda9np4Z7TovWTkGfGiQ3GNcUp/elPIi45MisHkRzjvLDn3 U3qkVhajDmARfZwjXca20xi0NjR8sv7bgCdv8ICNBeD13RkELc+f7adg8Fp7yDqAYOp8 hzgA== 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=sWj5AMlkIFm1EQIr2qj7UBuc4pjP7DLsL7hDuHVOzuo22G8Ty1FwgUDpnhwlfZtJw6 5sllsFIezwUyXiobr5Un2LvHxth2cAexpv5qO6oBJ6GXTQ54YQFn96yJo3juEA+m3YXB hUEtmJQF7XvqunSljQ7WVuinBXLSLyTOHd9079Y9rZEy7a+AVEtSahmfiPa9kU+7I7ca TCTDF7Squ/k47xKt42Pk+/X7zFwmmI1zv4Flgc4VZs3ALc6HSSBKJJ+CU2H0jO60fKKc +0xp5yydx73VMEnzKbEpUATY//mwl6Q1gLjVDvlNaYvSdAEw24RX3d/fTvYlLROjRXSQ nerA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AJArippn; 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=aw0jJBSpgxMwPY2+p5Q2I/tu2DaIVs0JkXD8gZMBih5W+I3Gz0rd9UHtbzb3YRFm74 gMMItqdqDtnvBzM4tXYvCOtiEyNVkjFr9cAoHzZAvpPSBciyq7gK5lnmlpLLg1OiRH4Z s5iANBaeb0SLF03rMDoQlbtXM0ZAlY8qjAz8M= 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=Rhi5heHzFMO0Oy3BbdtTN5w5mvE8lv/C3z9GysJJl53rmIjwZzJwzwUYAf4+0XdU2n fXb4jyTAy9nKpMaMQjAuYdQU9PXSanIKL9wCtr/nncSXiBGrEsPc+Xevf3XxKEcBq87x voIdl4LDY85D5t06vFmOuoY8rVe9e1rf7Q6ywS+9nbsyTQIER96lj37n5rcbjNy8J+7t MSk8qOqQIYNoHeVl5Dt7iwjyz26XldEP9jIXFzhIacOLXVIa+hMg4yPbAwtfWhNu/6/l Xs1vZ53ohQVFi9aXZiIsnBFrSSkkzwG6sd8BR0XbWej8IJzMZAhbKipyrXWlJg5PTfcI dUpA== X-Gm-Message-State: AJIora8HF41V5bZ/ruhr1stmTKJbaJkhuvmRwBiJvFA1XyS27tpkOx+9 YLBY91rM4zrxQ97fVlMNzkmFTVoO X-Google-Smtp-Source: AGRyM1tZSTlIIWYQTr2V3VGnwrWASewT3lKzDpWTcv12hqa1QuhPV+FGAXQCNcScEWA1MjBiXAuDsQ== X-Received: by 2002:a17:907:2d2b:b0:72b:546a:bd03 with SMTP id gs43-20020a1709072d2b00b0072b546abd03mr15911596ejc.149.1658869407623; Tue, 26 Jul 2022 14:03:27 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:7256:b0:72f:6ce5:d858 with SMTP id n22-20020a170906725600b0072f6ce5d858ls1352330ejk.4.-pod-prod-gmail; Tue, 26 Jul 2022 14:03:26 -0700 (PDT) X-Received: by 2002:a17:907:b08:b0:72b:1bc8:19e4 with SMTP id h8-20020a1709070b0800b0072b1bc819e4mr15916769ejl.106.1658869406530; Tue, 26 Jul 2022 14:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658869406; cv=none; d=google.com; s=arc-20160816; b=aUmMjG5JsK68AlJIV4Gk8lkhx6E/QHoQxpom1NQkyfcd21t9rLcELhHZIyOiWdmuy5 w+PWRNXRmPgK4T55kz5hFf/G3Dkcc/RGsogCcXWhDxbYoAWuxQaNf+ZD+0iIAiEq0E7i +9/FhuocBylSbLjXuitbZesFvqNJLtJknUOuKQR1NqKo27PIoBBwfNYpoYORd2HIPzj3 xH52J3HvKD0tQjAq1je0ykPBu1eVv3SgcQC1uIN6tV+QBPIp6Y+pSjPyNnkfOYPbW160 nQdgvSOfdm3jjtM6tfLq9BCHZZvJtCLHZFPUBkPe/GHh0kl6emTRdgG26d0P2B+RwgvW Xafw== 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=Eue4kd5gjCxJt+orslQ5FeDgeV4ys7lu1SWjUvqGsz/8p7N/3trRyNOmd2n0mIQCFi wwluNAq4R05ZaomZbTxgQMGL1iIJ+eU0hhdiwWigPdOH1Cc+vdI7FkUg2h2OQtfri2ug azoqOdOZEK3noZZm292gVCXGFVZv9ki2vZYM+LTt9XbtU11Io0NmYBgjY1rE90IMhe6L Y+YFNpl7Q1CgHV5J1iabcCu0CCE+P1OMTKjbGaoin71xpd9k12Pq/wtGWOz5xkfkVRVx sqQeHdedTEdIvq1xGWRhUUExsrolrfqmqJXsPnT5+ByPrYS0s6YhRF64+4QqgvySYdDA /QRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AJArippn; 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 i6-20020a1709061cc600b0071579acb86esor5941719ejh.72.2022.07.26.14.03.26 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 26 Jul 2022 14:03:26 -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:907:1dde:b0:72b:11ae:700b with SMTP id og30-20020a1709071dde00b0072b11ae700bmr15003401ejc.520.1658869406249; Tue, 26 Jul 2022 14:03:26 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-14-98-67.retail.telecomitalia.it. [87.14.98.67]) by smtp.gmail.com with ESMTPSA id y19-20020aa7d513000000b0043a7293a03dsm9092849edq.7.2022.07.26.14.03.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 14:03:25 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: linux-can@vger.kernel.org, Marc Kleine-Budde <mkl@pengutronix.de>, Oliver Hartkopp <socketcan@hartkopp.net>, michael@amarulasolutions.com, Amarula patchwork <linux-amarula@amarulasolutions.com>, Jeroen Hofstee <jhofstee@victronenergy.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Wolfgang Grandegger <wg@grandegger.com>, netdev@vger.kernel.org Subject: [RFC PATCH v3 2/9] can: slcan: remove useless header inclusions Date: Tue, 26 Jul 2022 23:02:10 +0200 Message-Id: <20220726210217.3368497-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220726210217.3368497-1-dario.binacchi@amarulasolutions.com> References: <20220726210217.3368497-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=AJArippn; 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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
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 <linux/netdevice.h> #include <linux/skbuff.h> #include <linux/rtnetlink.h> -#include <linux/if_arp.h> -#include <linux/if_ether.h> -#include <linux/sched.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/kernel.h>
Include only the necessary headers. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- (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(-)