Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp288787imn; Thu, 28 Jul 2022 00:06:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tfLXD0wknmpaHRI8vqoux+jmUZa7urmPMuxjfMHUvZpdDArEM9a3bz1bTN3rzmuLWiQnfe X-Received: by 2002:a17:90b:1c0f:b0:1f2:d156:4de6 with SMTP id oc15-20020a17090b1c0f00b001f2d1564de6mr8659794pjb.124.1658991966132; Thu, 28 Jul 2022 00:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658991966; cv=none; d=google.com; s=arc-20160816; b=ZAIQdYXKWtjhTnRG+yx/FPLLA01pTQ9tzqZYv5tSpCneosaJXpe8CbsQ9BxIv8/4Kl pvgwcs2Rz6JpQjzWpmhNE+ltkde1fyfE3LF3zTNhwIiv9WAPiXiKjZB0OtK1kHcUvqWh ONoc+fROfY5/a0Oo0i71hqiQMAXDPEerB1ose3qVLFGxmn8BEv+XH1cuegtSGU5SIIn1 uAvu9DE5hipdznMoV/oC/b6O/SxtjUWJI+C+xSFECYbtT7Y/LqxQ8ZN4jbj2sM9pF59o IFUQ8TD9WXJ5EaQkqHHGDR8bpaMMtb2hN4qM4Wge4+qbpMaj29VaYqtdoJ3twgz1khoG P6lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OqbFbN5WONXbXcraJR8YQy0FCGLdvzQc4+bJ+5uxeJs=; b=VW6fDgsa0wlHxiNX6GLopl10Lx0W0J4Xs6qXmykmi8gv3/ojPVoZGuSjt0jQaBQY84 UKw/C4JyXRmxbPZzgXVGZQxITivOF38BOcLMnA1eIaXTy4wJBsXE+jw+KkwJD3eWQuAM 5xW9Uw/XmSlotpmLH2VmaKwS20qj7yOW+TWrNCl9QSg6rNKHbk/DgVgxDZtoeU62Wrqf C2AaaVp8jOCbFoNaCAIy5B1d5KtTB3JPwA0ELZGG6WSAR1hhrudwxDq1NY4mFG7URU8Q hx9zMxpN0fAg2XQ58XBN0gjmpIsOkH1k7JI5Zu9cY/zSiThxr9u3WicQPF6Yj9zrU8fR DZ3A== 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 linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nn7-20020a17090b38c700b001eca02837b7si5087797pjb.9.2022.07.28.00.05.51; Thu, 28 Jul 2022 00:06:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=H6c+CwG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234580AbiG1HDR (ORCPT + 99 others); Thu, 28 Jul 2022 03:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234485AbiG1HDI (ORCPT ); Thu, 28 Jul 2022 03:03:08 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93FDA5927A for ; Thu, 28 Jul 2022 00:03:07 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id fy29so1525275ejc.12 for ; Thu, 28 Jul 2022 00:03:07 -0700 (PDT) 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:content-transfer-encoding; bh=OqbFbN5WONXbXcraJR8YQy0FCGLdvzQc4+bJ+5uxeJs=; b=H6c+CwG85VDVmBQqbdkary0D07YA5Gn8UWubgl2cgK/GZ1TbiJwzpzjxkPiFzQJP+R yFfgAHHIZIUs2Pt6u8Dp9oAkDSW239sdBm8h0Wu4UmCVcVUg6yhN1RTbZJBpSGTMxQTL H0IiLIatBo86jVNNC6jZEuKm2xELL6a6ftRso= 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:content-transfer-encoding; bh=OqbFbN5WONXbXcraJR8YQy0FCGLdvzQc4+bJ+5uxeJs=; b=7DeJsW4Kbl7qSA6VL83XAB358DvizIyAAxYg+bU6k13/4XxQMBbK4NStTN/M0QPwBc h3r3yVybjWbe0FSccPBbaxft4lAoh/EET15QiwtY6KSaCk598vVDbmhN2U2OiuVQyv3l ZFZRVeQWMljB909Ji16wFK/qKOpRO6IC/AvcfLJ6bXhZO+TphA1/kMSJnDAvIspIBPo8 P9/NdHkkTgLMng5h2kz6nitRNlmV92SWJbCupMxIMJmkPjfc3SUeLtYeHth6NiAodKBC 9XljzGIyYoASnuBmn9qyHHGiSmAsEUMBGzuTurrRUoMPQInLKi/qV9qKyJzM4cmfbElX 26wQ== X-Gm-Message-State: AJIora/7BpTlzIFzKV1gBwNkYTtZobm8gBzq6LxIz5WHzbyyqdSy08e8 Hxfl0xYjIeoLmDcxtCXq9DV5mFvV2RK5+g== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.32.0