From patchwork Sat Jul 16 17:00:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2181 Return-Path: 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 3D55E440EE for ; Sat, 16 Jul 2022 19:00:15 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id o13-20020a056402438d00b0043aa846b2d2sf5392051edc.8 for ; Sat, 16 Jul 2022 10:00:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657990815; cv=pass; d=google.com; s=arc-20160816; b=MVmoXwlOZjFlLzjL0YeCAT9X7+DKtk4u3lJrUb8hcYMhav9WP6mqYDItBder52TVe7 MK6zUeJmiX7D8A8JEHZMcijQ/w2duOcEeLU7hj1QsHK7A4WSS7+8KdByET9i+xJ2R11R DdhULu2veDHRdRxJ8i5+F5vU2Pb+3AavAhr/tq3YRRULGsFcUarIhqkJZuJA3dfcI6IM nMG36rjUVrCOzJwrp+5kGFBCzJ4l2FBrmpymeKxreKYMbDkoLsBDg9PN8TxIldwCoVG5 8V7oTdOUFWmRzl8pvegPtzAlipyixgS7q1Rs7XSespPDUfNd2WV9sTgpkUCTmcQHHaM5 uJOA== 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=XEVOel6YdiDZm+3M30kwhvzv2QHaO751G45LDXyhpzY=; b=dBOT60Anbi9OR6SiFr1NnD49Hj4pPE2RTVb4nCT2k2i+B7REWObII2s+5StzZMdJuN pferqNK5Z+aybK0aBDMYNkKoljVODOJRnXNR9509fF4hY0o7p6gRrev2Ljq3E9ORWgGA bgpNzbQmgZhCPIHrJUex6aeRIgencyZdz6GjOcZXiGRvVgVHmZEYYYAiTbPr/rxQTdcX KMFyWzjU3sS4M5Jxy8x58gARGxtx728hJDbyEP1kt5RMLH4GsrZUL5vFjkJuQUZhA+ol a4TgHflo7p797fvZVT7y+9mxQs8gsG4cGMJs6516pt08S5hEqXEtBEV7bBNtkzKN1WTS Q00w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=X6UeE44p; 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=XEVOel6YdiDZm+3M30kwhvzv2QHaO751G45LDXyhpzY=; b=cLlveLYAR8+0pU39LnFN4GE/dPQhaMcaBpOmMaYO1hniEU9E93u26NQ9tfLzoAjhEl Oi3zIudZ25zXT6v/ADga6TvPkz8N6wRApj0xieyEVvSPbIKMfHoVTAKRNWfriSIgJo6y lLzqJlKHDOpCEIN7p4MZ6wSKPpY+22hq1cH/c= 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=XEVOel6YdiDZm+3M30kwhvzv2QHaO751G45LDXyhpzY=; b=2VJsOpFqyx/SJT0y1409NYJ/mFOz1sECf//1aWVVmDgjPf6Kl4dMSFAD6Zn9/dx3AQ 3gV+Vq4IEskMsXdtr5AJtorddMt5rwiA48+4pdf4cstJPzMsgKqVa3aV4hOlSviv1iu9 BoBvWzkrbi9rm7gXeQRcn0nA1+2/xP+GOcWZKOD3dNMBjtticXSaiCyOiO09LiVwLavx Q08MTQJrQoCAQzdJjNL8GHWJYIb9bSUQaFQavTvSH19GBd4+r8eXZWHcr3WXOgaGQH+3 gtJsPKnv6apXzQt7h8VBIPeGea9rbdtkgLVrsrokBwLS2wbvWuLTullc36pXsma9XEJM pYkg== X-Gm-Message-State: AJIora/t1RGGjAIykFAzbvVekeB4zdAjbo8sZ6vcCQXRzCygBy0suIrK MmZAa//ikCH8lLA0KhMVKAYHhsbD X-Google-Smtp-Source: AGRyM1sjUw4Nehf/zKqu3sqxcWkZRUyzmW3bT72Fps3fOwtoN3yR0WxAPWP/c0fZd/81DtlwVlDZzg== X-Received: by 2002:a17:907:6d86:b0:72b:5ad6:6df1 with SMTP id sb6-20020a1709076d8600b0072b5ad66df1mr19919878ejc.264.1657990814904; Sat, 16 Jul 2022 10:00:14 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:42d1:b0:425:ff69:1a2d with SMTP id i17-20020a05640242d100b00425ff691a2dls8055edc.1.-pod-prod-gmail; Sat, 16 Jul 2022 10:00:14 -0700 (PDT) X-Received: by 2002:a05:6402:c47:b0:437:ce2d:c30d with SMTP id cs7-20020a0564020c4700b00437ce2dc30dmr26287166edb.395.1657990813740; Sat, 16 Jul 2022 10:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657990813; cv=none; d=google.com; s=arc-20160816; b=G4D/izIl+lfW/vPDiFTIltG2RcJuPSMJjfAOVegoqKjTPFQZgUlEuVQYl/99ZiJOIt C+ixuphYHCxukAtdxLUPUEh/zlweCUB9khIFeTumvavIjZHVu28PZ57j68ff8dYwDcRk FGv4epl7eVZlCBmGyTdwwkwSrAxLeYyuhCjV8MFOrJ7LOfIfzXL0K084VQJ51KxK3Ey5 m9vjUDuL6Wtik7QFEgKLt6Dm+1WQ15T+oXO6vBJec99bxsIgpMYbrDfKutkw1nXrL5ur NrDkV1+A4ELDnE70iI1CMjzX9tApQB1SkeA2iOgF/oTMeQ1E+XxrBe94Rrsz0bBwyphd PCxw== 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=Yd81WywVreUCPKtVR38dM58arAjDVuFKjNWVnevwfZU=; b=oHS1eqqxiBB4I84Ni5Kd1I2krjcSUpV7DNsBmihfsfgZSjFz/eq8QHJLZHDQzDicbC bzAREtH4h2af6Dx1p9qxECH3HzB694uuzm19NZtYqpjjma6uhZXccjp9ilStGMbd75z0 seSmom0RmoNTuboW6u1rif/dS33iaiND3n8neOrOVYc8yYePCioP0p4QJswslDQn5+pe 0D8h8k5BEjOhZL12lj65PAvVVy11QLg6MyFN2b+z+vWYIMz6ndrURGKhWR/dUfTRzBVy qIaEZSobhE3p5L6iO9aVYVbU5m8qxjzpjr5B+507dxwgSddZbeE8g+GkODf6gxuVAqKC LoFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=X6UeE44p; 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 du7-20020a056402226700b0043a991ee7b5sor3607886edb.40.2022.07.16.10.00.13 for (Google Transport Security); Sat, 16 Jul 2022 10:00:13 -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:aa7:d64b:0:b0:43b:1f5d:1443 with SMTP id v11-20020aa7d64b000000b0043b1f5d1443mr19322822edr.370.1657990813572; Sat, 16 Jul 2022 10:00:13 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-182-13-224.pool80182.interbusiness.it. [80.182.13.224]) by smtp.gmail.com with ESMTPSA id g3-20020a170906538300b0072b14836087sm3363135ejo.103.2022.07.16.10.00.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 10:00:13 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Jeroen Hofstee , michael@amarulasolutions.com, Amarula patchwork , Dario Binacchi , "David S. Miller" , Eric Dumazet , Greg Kroah-Hartman , Jakub Kicinski , Jiri Slaby , Marc Kleine-Budde , Paolo Abeni , Vincent Mailhol , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: [RFC PATCH 1/5] can: slcan: remove useless header inclusions Date: Sat, 16 Jul 2022 19:00:03 +0200 Message-Id: <20220716170007.2020037-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220716170007.2020037-1-dario.binacchi@amarulasolutions.com> References: <20220716170007.2020037-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=X6UeE44p; 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 --- drivers/net/can/slcan/slcan-core.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/drivers/net/can/slcan/slcan-core.c b/drivers/net/can/slcan/slcan-core.c index dfd1baba4130..3394d059fc29 100644 --- a/drivers/net/can/slcan/slcan-core.c +++ b/drivers/net/can/slcan/slcan-core.c @@ -36,26 +36,8 @@ */ #include -#include - -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include #include "slcan.h"