Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp714070rdb; Thu, 8 Feb 2024 21:04:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCURDL/gsQZwlUKcOyh6FsqK4hYWwx9b3CJgky3p2YJE8KrbA3M0/DKyX8geXKybfj6QBzKc8REHKc4NwyzFComBb8y0D8bi1qYZuoH65A== X-Google-Smtp-Source: AGHT+IFgbAtpezc1l2/EBzAunGS/DyYWUChVQsXaMyYb6SPCriIarwixq8khU3L7gaz1vlihCGvJ X-Received: by 2002:a2e:6e13:0:b0:2d0:5f2e:5b35 with SMTP id j19-20020a2e6e13000000b002d05f2e5b35mr503975ljc.30.1707455093848; Thu, 08 Feb 2024 21:04:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707455093; cv=pass; d=google.com; s=arc-20160816; b=zL4P78jW+zGoMOeF8jda0IUWgoWHJUceMS5ejR5ch0LmfWX9NA/ZOCf27bCKsIgwP5 UDQnGFaAP7R7JiakyWyIew1AW4L9WSXi87ULFB1awpkGnDlz5EDE8lZBNoO111JCNeGB 2ZX7VcQhAUIMQ9/AeesopZ5Fnn1FvjLGGn9/TJOuJL9J4zqeT1dWvb4QpSWCwIAXQX7p SRXEjCa2+v0VoG/YOolgcr5zEYH5ZJqk+pX6A3gXxgVMGAah5VeIaqUxzc2lksEkcKt+ APcPvp33i7BD0r4wRCcG03728I0saTMnS9RM0KR54L4QukQrZ0i8mkN0xmEwpwCRo9Wf fypw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=g7MTZBCKHzjhM18x+n8O/DVUc7G/XYEcwU6xuwWh9ZA=; fh=N4SmafIu+wUc4ZjNHUdPpwIDpvGuS50aNzeH5Krfnqo=; b=xOokMG2Y0XgDs45l3b/n8GjiFo2fYynLa+Pvuq9CfhKcAtcNnLLDjKiRC68wNzFand WL8Feuon6h65WVXr0b2+vxU0aemU652imuu/MJpr2Se6Q8kHeBwuExqsBaZNR771ZkOI +UvnGQ73+F0AFD1XPIPAjRocPwzrgbl0TbEHH/YQfYQKt0bJXn9nrvITP+VNPecZs1bI Z5/w/MZTHz3RJ2CmAAvtKY+qnQgDY5tLfAzvq2b3bTjTfXEfyMOdp4bjwKtfl2pAe5iL KI9yBwJl5AeBGVlm8Bt8tnlwi+IftcAhEzTfRsohmgWQsIEJ9VG+uacahv3mJ/709jbr iGtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bK9JklZS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-59004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCWAcUM20g9OVJmXSmHOWeF9P6WpGYT3NCa42tjtHVlZPnR1OXNGksQ9Xvg813Iib0iCmOvXrPuci931B/28fWg1zzcTx927dTtFIqNGvg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d5-20020a50fb05000000b005611aab8174si469077edq.434.2024.02.08.21.04.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 21:04:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bK9JklZS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-59004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 517AC1F236B4 for ; Fri, 9 Feb 2024 05:04:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7834557320; Fri, 9 Feb 2024 05:04:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bK9JklZS" Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D3CD56B82; Fri, 9 Feb 2024 05:04:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707455063; cv=none; b=S7h+7ggZ9OCxUkxxKL0x5TOjcOntzBrDuAmCSueVhjQdyOhqTpGqxYMkOMXBW3Xp5RuAIEpGb162iv8FcLAVzUjq4EcgPPiZg1HqJNCID5Rb2W45La87qH00gHJXOQr67PKCdB/kpD7qC940yIsPtPWISSyydb/RB5ecHRDuFSg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707455063; c=relaxed/simple; bh=iMZJiu/bnxPiAITK7fctYgy8EgGCASzYGj8tEvNQlZU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OaotZoRzNZ8B0vLA44ZVgSoCGx4Cc4pBlLk+Iv9ZsoulR1g35vYN26xXbBKjwTqU3Fkj56H6K4qvf5GyxOWB3KlGjtzDh3LrjdnujDvZ5+UurEsOBh3v+Gb40YNH+iAn2se7CscfkrGvuL2ZhlJcVtHDaJ67+kUeLCpguYnTf/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bK9JklZS; arc=none smtp.client-ip=209.85.161.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-59a146e8c85so303815eaf.0; Thu, 08 Feb 2024 21:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707455061; x=1708059861; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=g7MTZBCKHzjhM18x+n8O/DVUc7G/XYEcwU6xuwWh9ZA=; b=bK9JklZSAs+6o0thVRjU8DDE4spoM3ItVr6kM9Dq0Vca1KvSW4AVK9Fo7nE+5cWzjt Uuee/QwBgsx3BKUKaIaayKrJra9NN5CVclHR2rRrfsrYf8UEVORwkCV8NLWW38IXPzwm hYB8zloDTg7i6bGfZiy0H5abNyOiBRxqNufXIo4lHbGPUYzw8zqIUFP3b6UpXfkq2ZnE UeYsAxQhOUNNvZ9M97XWs3v5A+EPOV3VqCKRJGTxaIeasnNqZ6GXQL3DipZa5stRfAO9 BtYfLoEVjyUr2H2qSkx24zsW+p8Y4JSumeeoQ3nMIN/UFEteVjfAek5vtMQVWFrcuDKi sb8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707455061; x=1708059861; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g7MTZBCKHzjhM18x+n8O/DVUc7G/XYEcwU6xuwWh9ZA=; b=L9HEHckZR+JbMXUG+8gmVMNtA49cxZhggkiyYs3ldZowxhLOp2IMyL2i6aKKHfbHdT 0SJrvhr+t2J71hV0we6xCQrxch3KQky5zs5MxeGoykQeL2cfJwqnm9H4qFGvBxo0bcwd 9XOYuwfb9yNSgbzCg0vzgN6GgyxTL+5m/Wx6wDRuXdutJ39YlrPJJjgMnZ/dMfKf2lCf ACOf7dx6s3fa5P+k7YzAKvYbSFKdIFCl1iFwYZzTmBHSF8Gf6aSe1WlnUPpG0GJwXqzb WupERSUIUqpkgW+xbAkZe6z1h31fkKaDIhaLTPHiaTyE/TQ19SgddrEMVLhu3XvlcSO+ TQNQ== X-Forwarded-Encrypted: i=1; AJvYcCVjZuSoopqnR5gqwpMpj8soPghPX3dn6FR25RqOX9SmxCwOQRC3H4Urj8TFo6ggYKRQ45MEAhDmRY9wh90wQOcgxsDXLFbF7ZZRKIcn X-Gm-Message-State: AOJu0Ywaa3KM5u2PRrfIKLnAddX/oQ5eMurSF2/mPbpnC7MRpfzBuMuJ ARjrrEwhmp7YQj1JCgtjAUmQOl6IlvQsgaJODpJLJ302erEvumsN X-Received: by 2002:a05:6358:9986:b0:178:7540:999 with SMTP id j6-20020a056358998600b0017875400999mr502758rwb.3.1707455061077; Thu, 08 Feb 2024 21:04:21 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUKtQfOnpUHSaPvXR1U2hUbTvxqzIqzZprJ73VjB8ujdVw6vJ/y8i0LKLb9iv27dehJZFQlu485Dbm9ezac45vVz6COmzMZ9cEVyCkOTsVGstE1vNXe4kC/LOuhfFYNd1jUgIpGmtJlPDKJIwJtTcoEnQ6gWOJqUUdqVofCSmQ49Y6H/GCYtfkbYfWuWOrHa+07P1haswfwCOEtKYD/oAKGy7oULsYSTMJVUfF7VXEn/6xqtGmf8VfGBikqL0kucCSF6/2scOYBV0wDf4IMX01bZ7is5SHequV5ZxZmnAvrZTYsHIDbfIszfOgCa1lX55qIlOboiVr+6IALrVk8l+45O6ymIM6Q6FpnWkzihztz3aDVsQQgBQBs/x1gGXLO5w/p/1abpyrMP6HFtq5pu++1acXa Received: from tresc054937.tre-sc.gov.br ([2804:3b0:4104:200:2be:43ff:febc:c2fb]) by smtp.gmail.com with ESMTPSA id d1-20020a634f01000000b005cda7a1d72dsm793616pgb.74.2024.02.08.21.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 21:04:20 -0800 (PST) From: Luiz Angelo Daros de Luca Date: Fri, 09 Feb 2024 02:03:37 -0300 Subject: [PATCH net-next v6 01/11] net: dsa: realtek: drop cleanup from realtek_ops Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240209-realtek_reverse-v6-1-0662f8cbc7b5@gmail.com> References: <20240209-realtek_reverse-v6-0-0662f8cbc7b5@gmail.com> In-Reply-To: <20240209-realtek_reverse-v6-0-0662f8cbc7b5@gmail.com> To: Linus Walleij , =?utf-8?q?Alvin_=C5=A0ipraga?= , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Luiz Angelo Daros de Luca , Florian Fainelli X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=968; i=luizluca@gmail.com; h=from:subject:message-id; bh=iMZJiu/bnxPiAITK7fctYgy8EgGCASzYGj8tEvNQlZU=; b=owEBbQGS/pANAwAIAbsR27rRBztWAcsmYgBlxbJLy4TTFFHnoKpMhmPmsVw71Ws4vHVm5R50e F4tqNBaK6qJATMEAAEIAB0WIQQRByhHhc1bOhL6L/i7Edu60Qc7VgUCZcWySwAKCRC7Edu60Qc7 VunvB/90ufR+wgtQ+49IsDa23xE8afdXbAPBqjhMGssi21dNhzSrypcFip+Uwdnjg/JdNolhXYF Y36mU0E8IsTjTT/wLZKnpmhjpT8H17Tj+pSsafci17ASGX1rRX2L4/Y0LC0eMqa141/lfIe8WX1 r3s9cq2bLQWhZi0D86D9+dbj529Bz6Se1rVex6b/C7l80eQGaa/Ie4KNxvebzAovlZN5m0bJq1V UDPTMevSrArsopTF6oO2bdu78KtxAobfXuRCZC5cCMVCzVmFRXFX60o6rjj8hAlml5NzMfwD010 7U/zSBMewcpaJgotaF4X9mO79EoNqiJPmusCfhMLkFALQe2k X-Developer-Key: i=luizluca@gmail.com; a=openpgp; fpr=1107284785CD5B3A12FA2FF8BB11DBBAD1073B56 It was never used and never referenced. Signed-off-by: Luiz Angelo Daros de Luca Reviewed-by: Alvin Šipraga Reviewed-by: Florian Fainelli Reviewed-by: Linus Walleij Reviewed-by: Vladimir Oltean --- drivers/net/dsa/realtek/realtek.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/realtek/realtek.h b/drivers/net/dsa/realtek/realtek.h index 790488e9c667..e9ee778665b2 100644 --- a/drivers/net/dsa/realtek/realtek.h +++ b/drivers/net/dsa/realtek/realtek.h @@ -91,7 +91,6 @@ struct realtek_ops { int (*detect)(struct realtek_priv *priv); int (*reset_chip)(struct realtek_priv *priv); int (*setup)(struct realtek_priv *priv); - void (*cleanup)(struct realtek_priv *priv); int (*get_mib_counter)(struct realtek_priv *priv, int port, struct rtl8366_mib_counter *mib, -- 2.43.0