Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1316642lqb; Sat, 25 May 2024 16:25:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVsKNBwMHO6fklJPDL0wOHhMkoFI+Qyc7S1f5FDrR/urcuPtJ3jkVtay5v8qp9WkvnjIIiXndbS3jFsm3zDr/qUvQGiLuAmR80LB7DiIA== X-Google-Smtp-Source: AGHT+IHg80DBJNnvrikoqrriJc6bqcwXekDPvEzNZ1sAOOGqB1sq1ZhDTuMGtkjlV1KdbkupCYML X-Received: by 2002:a05:620a:d8d:b0:78e:bd94:723e with SMTP id af79cd13be357-794a0a2d29cmr1553542885a.34.1716679545653; Sat, 25 May 2024 16:25:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716679545; cv=pass; d=google.com; s=arc-20160816; b=CHwBXpO0tAmcMcTF1FJJd/dMpOoVFnkf2f82IEPBsj5QD58j130tVZ02NwYL0dFhIm TtfdphN2zJ7wWBC3UAWNhnJEYoy9aRqt/BrtZog2e/y8OjqeCwqohq0f1k/UYP+2nYIx 4tckRsIMAmV6SfQZXDy1CkyTO8Y29U2Zx61MP6jJ4XyiqkNzg6K9kRiODeNYiVu8Fe0D LzsDn77gGqdMger62xJHSd2jihcAL5d/J6+XydyFTLhPILI5Hllyln6uBFeYelBdMd39 sIzbfnf0cTaKYpp5cfmLjekOjCx11AosbwlonR2WoJXr5xyfNW5i0LLRMZ1w8uCuPxjI Iigw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=hBulauWzyakmG2rRh4tUuhkO1nkuiF/U5/PLahfKgdE=; fh=EmgVSXdacUg/6uyy/8Kizhp8dLqdHTYyPgACtMA/3Yw=; b=GwJMfOaqanyNpSQHYs+uaX+dDk3k3gLXE6iPb6ZfwNPjwAaZEvOGpDk7Jjn6Y5WM6x EOW51FMgUFjlgxBNFvcFOS1TPrNpuQHmsysv3XZS+Mdd9IYLcN5ZNnIvt1EQXbgCJq+j 8DCZ44u0518IrW4hhvLp4QsRRAYJ1C0+5+uZe6HeVHzSY5Luu6go07nhXchfCDPbS1YX /OZWrAI3GxTyI19+5FTPwEGKnV7aFlFzVUok/6FofuX5SPQDRJtD2pU4+tUFojlB2JWV 5Ed2mo+wQTuZd1ITbhlgoPIm0xPITBiNfrUjkr61gOpdut4vohtIAuKyS4T5CB/UaygN wUZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=fMHhMIbn; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-189570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189570-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb17b98e9si49483051cf.80.2024.05.25.16.25.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 16:25:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=fMHhMIbn; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-189570-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189570-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5A70C1C2106D for ; Sat, 25 May 2024 23:25:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DCB4129A8E; Sat, 25 May 2024 23:25:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="fMHhMIbn" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 061B6138E; Sat, 25 May 2024 23:25:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716679536; cv=none; b=QrKpkjjn0CapkOJogMGKKQlPR1kpUbG76eJZvkoX/GFv2yCSB0HfiqKHqUix/va1wLylQRI5QElVLVPOWLDm3t3kfkWkGTtSml+FHKfGLN6l2e/wiPK5IeKLnQNtmysqQCL+Q4+I+A0QDcL5JGNLYAl6F+MeNF7An5wB74K2NZE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716679536; c=relaxed/simple; bh=J/hnJWGEeZhRjPVcwBS8PBjN6KPW69jFwnimgLLpWHw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rJPKAaDj9TMvzRYrqEAI6Wu93d9odUCJsU29m4qHnaPDjEP4J2nf0zke9wQz6+3KIs+ikqLgwf4aVlI7NtU8U2etUNJ1dhyjsmBJAUZxF9c1h0GC85kqffCMJ10P5M02KzoW16bK/k2vH47MDJRigGQ1H77c+UH7rk6c62CAxxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=fMHhMIbn; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=hBulauWzyakmG2rRh4tUuhkO1nkuiF/U5/PLahfKgdE=; b=fMHhMIbn5upjP60F J+vGqLt9jf8TdnPIOjvb8R40Pq+sxRpZ59BRDKPsCP3CsgjlaBCGQHsRIEf7Bv0frKacfEmt/458x QyIjQlCPsgQcUbYqL45lHk6HQxgD9ikH4LVJ1MYb5b3HGrqWhQq4NRdRFXLtOzty94xJ54DNk/hGH qIhJKuyg13gkfHizgkkzsOjBvEu/PMFNpdfYNoprLW5HDRkbAdN0mD6ixjb0S0WvsB3nNtgRcNGrE l75hd430HN6Z3nh2mRXMG4EwpP6zARhBPFnSvMvchNl3K6/TcGm4zmbrJF2mKXYDyZKW99yvzxzu4 Vm+KT42qDqkQyPyGuA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sB0lT-002XiB-1E; Sat, 25 May 2024 23:25:27 +0000 From: linux@treblig.org To: mkl@pengutronix.de, mailhol.vincent@wanadoo.fr Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, wsa@kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] can: mscan: remove unused struct 'mscan_state' Date: Sun, 26 May 2024 00:25:09 +0100 Message-ID: <20240525232509.191735-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'mscan_state' is unused since the original commit afa17a500a36 ("net/can: add driver for mscan family & mpc52xx_mscan"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/net/can/mscan/mscan.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c index a6829cdc0e81..8c2a7bc64d3d 100644 --- a/drivers/net/can/mscan/mscan.c +++ b/drivers/net/can/mscan/mscan.c @@ -34,12 +34,6 @@ static const struct can_bittiming_const mscan_bittiming_const = { .brp_inc = 1, }; -struct mscan_state { - u8 mode; - u8 canrier; - u8 cantier; -}; - static enum can_state state_map[] = { CAN_STATE_ERROR_ACTIVE, CAN_STATE_ERROR_WARNING, -- 2.45.1