From patchwork Mon Jul 25 06:54:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2245 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 026B83F046 for ; Mon, 25 Jul 2022 08:54:27 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id y2-20020a056402440200b0043bd6c898desf3880626eda.20 for ; Sun, 24 Jul 2022 23:54:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658732066; cv=pass; d=google.com; s=arc-20160816; b=wrS2IxQDCDOnHo3tmziX+MxwiO4b+9hRP+qFEyzZNoIR2AX/arWJjCDwFsKonXdaEJ yhu1m7hWIcSiwlv8JWnzIVxb81S+pGH8AabKUDI3rix5vW9NyzCV27886pc5bYxcOZpO Hcxs5GdfUnFfPhrU9htTT6VBWaSHSeY19LkqqtpG6T1RlyRfVnMnVHT/o0J78HZu9FMB eh3wCPbSQSk7jDlQBNMrxV5BOEcRB2uo+b3nBvO+eJaJvW6waEGP6O88/vms4B2s4jsa rGQ3zXZ8n80K605sX9ob1ljMfviJjJo2LL2FYJpCxMgvB8tAb27qw32R/8+0eARr0yTL Piew== 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=83+8uQnzQ43gNPUBEi0HzeWi1dwNVUmEc4xZIx0NzBc=; b=kz3RAbVtNYlnpdsyR9bUUnrKOrjkIUeUuyKc+WG71hMmcCYRJP8iDNdQpG9mZ+TzvH fru9VYh5QTdDi/y5yj5tMc88By3uVzNtwAaTa6/tQbmnd4+OoDBwRAL7/wYdz+Ce4tJN CeIrn1Ngj1Ep6OvTu8u0aiTPZWB4FVxQpFdirOfFg1RMe103XSVM4U+ju62VFKck3ste /pCM+hFB4nGcjhMh555tALXp61l08MFN+ZcUnF82teop2frbO+PkMz1kBOfSDhYl3JOa FfYXbCfQkMIDV/V3zaEJ3lGYeVzVH+t8LHjQ9WrSj0rOA3QhfSZue3Yl9oXTMT9pxsM1 8e3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DDAXmyNU; 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=83+8uQnzQ43gNPUBEi0HzeWi1dwNVUmEc4xZIx0NzBc=; b=IzCZTixVsXWxHW2Rtp+Csbnz8LmW49PexH2oLsy5oIOxwlyr5ngXa1/DSLebkiNzV5 80THhiVlT9CvAliGyV70nAXV6J2cAkf7CUuDYsSTsZuu5LTUEf7QETih7Oddn9PnvUpt +HZLZ4g2u6l56IigZfHj1Li9xwmiUDPUH9F70= 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=83+8uQnzQ43gNPUBEi0HzeWi1dwNVUmEc4xZIx0NzBc=; b=megmNNDLs6mttJ7XORFqM9bKuLIKTzHJ2aBkwYK1380nZoEJLkC9kAI+9rPC3VoGQT VMVxVygSwXlKBZqkP/fS60JJq+L+zA67/WzzGC9cymsgO88phjWMywQLsU2ORzyUmplP r/kjw5GnUMiNzooCR5L42kxzCL3ohIAkKvck2BGela0/4MGxdP4O+3CGQD+yovaPsLJ8 ugZXZzkLeEvCPSDDDDFnvTu2z3dLQaEVkGgTqljSEIp7xbJ8/B/7Oxf2/6zrtftrR8NQ OCywA0d5gyvCkYGIcLEa4PjKhYRet9bgXZxN8IAgqupAIJ8UZcI8GCcYyCuB9mud0/H4 0OLw== X-Gm-Message-State: AJIora/kx8b/3Eldtp0VZp8PFJQ/O7rtTFAKJqWUrGimgWUkGTY8ebns BSMXSrFg2NS0QVGW/bzmEBU/wXSg X-Google-Smtp-Source: AGRyM1sG1+aFpu/5pHDV/wkGwngp8i1I8xUgxjQWqS+suRkC/CP3//2Si0qBg0qQBjb1+N0NGh7qbA== X-Received: by 2002:a17:906:cc4a:b0:72b:863e:ef7c with SMTP id mm10-20020a170906cc4a00b0072b863eef7cmr8782574ejb.686.1658732066829; Sun, 24 Jul 2022 23:54:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:40c6:b0:43a:7c1c:8981 with SMTP id z6-20020a05640240c600b0043a7c1c8981ls3549061edb.0.-pod-prod-gmail; Sun, 24 Jul 2022 23:54:25 -0700 (PDT) X-Received: by 2002:a05:6402:190e:b0:43a:e914:8c11 with SMTP id e14-20020a056402190e00b0043ae9148c11mr11386794edz.281.1658732065691; Sun, 24 Jul 2022 23:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658732065; cv=none; d=google.com; s=arc-20160816; b=I0RGEeeuWSTCTkNSkj+qemCXlRTlnhLWRuRvB87yFZC8th+AoYvwVqSQ/iKDaQn2SV fjdub4Re2StNWFECnWNODrmvGsJ41cGTlmnoBPdya/pTE8B7rXxUqm1upcQuKB4mjESt r2V5uYss5K89GHEL+5fp5zuXdu+hrMzGFK3zi3dYtDq39AQ80gqE7BWKcr++6Otw2vkK eFpOtpf2pOKdkckhE2L2ul4vT/XNbFR3PQ62FY/CRKQZ0duQG4FeeCqQUij3phREzktz LR+FxXLpr7HIXXZx2JWgb0yRDDDq2b4uYi0mI2rxWJYf3E+5UE6kGlXyDmZKczwClQns hd/Q== 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=qsO3FO8JgkL2eEGAFz/IqcQFBC6RPDGVM/v5Nl88GZc=; b=xH0cBF52vKRRqdp1sghFYcOKfBbrk0rvj6GtsGPr+9NlIuROeU0I7P5UUx6K9FzvS3 gjTS+svgM/AbtL05juJX8qUtm+Q1mJPIzwsbDlLp/ui4Kcglv2cwBOmOH0Y1+JLMjYzJ U4aB0fgifZm+aCinJE3yFfUskrZ/+6SQ2foT44fLKz/4GbrFCiWGOJbF3ttNEvWtaJNJ t+eKSdjGotjKrdWnm8DJk1kVcaq6dAaY7oPuphNcO68Arlaz1ct7iP8jxaxvHuoYR3cw J2u3CnRsOmm3BPYkmCjSb+dmcGSnMhGJzPpIULHw4geSK5xNgktYGMGxvwCBgkaLGNGg HpSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DDAXmyNU; 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 u4-20020a170906950400b00722d7688504sor3663869ejx.105.2022.07.24.23.54.25 for (Google Transport Security); Sun, 24 Jul 2022 23:54:25 -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:9b95:b0:72f:c504:45e with SMTP id dd21-20020a1709069b9500b0072fc504045emr7913376ejc.345.1658732065462; Sun, 24 Jul 2022 23:54:25 -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 r2-20020a1709060d4200b00722e57fa051sm4967711ejh.90.2022.07.24.23.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jul 2022 23:54:24 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Jeroen Hofstee , Oliver Hartkopp , Dario Binacchi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Marc Kleine-Budde , Paolo Abeni , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v2 1/6] can: slcan: remove useless header inclusions Date: Mon, 25 Jul 2022 08:54:14 +0200 Message-Id: <20220725065419.3005015-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220725065419.3005015-1-dario.binacchi@amarulasolutions.com> References: <20220725065419.3005015-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=DDAXmyNU; 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 --- 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 dfd1baba4130..c3dd7468a066 100644 --- a/drivers/net/can/slcan/slcan-core.c +++ b/drivers/net/can/slcan/slcan-core.c @@ -46,9 +46,6 @@ #include #include #include -#include -#include -#include #include #include #include