Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1321905rdb; Tue, 30 Jan 2024 15:14:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IETaZDdU+p7FjqJh0Rwv9WqgEsu3HDgKGp+awPnAguhkU76AuwpCCv5hWekUa3Bt5Wz9EAv X-Received: by 2002:ac8:5c50:0:b0:42a:47ce:d89b with SMTP id j16-20020ac85c50000000b0042a47ced89bmr85595qtj.118.1706656477177; Tue, 30 Jan 2024 15:14:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706656477; cv=pass; d=google.com; s=arc-20160816; b=Ow4S7njv4nv2/1Z+k4G816NpOtGwI0gTEJKepYCoawt7WeTQXR8c0ixp4zooEn/pTa aYAGNEJIDnujnqshrrv+9RXNUm4gKdhE2uEEMfQdXoBEZNdMTzpeXsri0pIA/8ondWY4 KRVbZFY6pG6AmgNa/VzKT6mxzZTBHToqHGyPbQC4tWVkRi8VXJR2aSBF65Ng0lsuv8is fR/2wwHfwZgzqrqc073K+Q3oZcEDHZyw/hqT3E8pTGDaXKvlg+yveEWMmdEkx9dX4L7i PWXlZapoET6BD/17x/whOrt4Sh2GWhRWITVnr9zms91tADg4/VlmCsRN9/bKgL501mks ANkA== 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=T8BOaDX/3nN2EaexhvCYOL8Nx0Gef5sVSXcvwUb8P0w=; fh=mTvjTqym02yeN0tlAPLrMKgv4tfcsXLZmOUHn1dWpO8=; b=XncpYR0Aw3+fD/c8burZ9AFMfHSrx6X6wR0mTRvBQ8mLBAnchnPjA8k0sbixkV6yVP EZ+01chSOpkO87+11eNREcNEEwAdZ1EP9Q8BZnb95pJLyjDjF8H0omGi3vNs5cQTK8o6 98Vn/h3PB40RqiKcMQJOKjX5UXeFM26JDbz5gw9DugArpXSu30LNUZMUApSBjjplG3H1 zBFjtsy0kwVJ42kIe1Q9beYHzAZCsyYLwTNsXjgXyZXY63t6VW4TTzdQkXDRt9aSfHhH shFkMtpLTsDbdu353Du9USW/zYX3oNTkonfuiLLtCdVW02jVYNqkqFC9Y6y2S5CXf4W+ mGUg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DsFKyBM4; 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-45451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a10-20020a05622a064a00b0042a5a42ba44si11116479qtb.542.2024.01.30.15.14.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:14:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45451-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=@gmail.com header.s=20230601 header.b=DsFKyBM4; 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-45451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45451-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E96171C24460 for ; Tue, 30 Jan 2024 23:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F28277D3F8; Tue, 30 Jan 2024 23:14:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DsFKyBM4" Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (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 B5F0A7AE64; Tue, 30 Jan 2024 23:14:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706656444; cv=none; b=fxj2bBJ+/VIvIu+DXcnQn6ml3CFUeiY6rQIfch9sMYzQOeBb6RdNS6Q9Y/FtceAKpI5AQ6wl6qS5Tg6AIqo6rs5zR/yhus748smbpAoHVbTCb5h7kUj7UX5Pje9QC3gnZ9ALSJPBSt3g1/5ZGDdm4QbhdJLKvy4W3riDHFFOIjc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706656444; c=relaxed/simple; bh=Ozk2yGiD6MdjA0WNn2QypnKH2DYKdhiTR52YxHkZMW0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rZkFzbA3FsloNgye4WmEKiUc1FlYHN6+RQse4NVI3B6GJ5/qPekNJ7QsG7zOVLN0yHQFp+Xh1e+ls1dd7zGFhvfsY9LnjDqJC7ZLemfvcorFgbL8BV26F48x1LuHjUrBff3/SRJwtlF1HU4/Yag3iwaTVJI5wFhlMNdqy1KxDL8= 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=DsFKyBM4; arc=none smtp.client-ip=209.85.214.172 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-pl1-f172.google.com with SMTP id d9443c01a7336-1d8da50bffaso14420405ad.2; Tue, 30 Jan 2024 15:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706656442; x=1707261242; 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=T8BOaDX/3nN2EaexhvCYOL8Nx0Gef5sVSXcvwUb8P0w=; b=DsFKyBM49k4sNHAYh2i1RtivmBkzOmrQvTSYZWibIjeOA6crRuoRiyGLCO6Qvvx0TL tIOEwYgcwaQ+hS2OfiB0DFS6bJRb6bs9NTQQc4AoQEzU4c6YkSXblqM8fqpfQa+z6FFq 1b2C7LwkBbWVClOPNAtkrExi5N436PppI9bXoYImNx7CUfL/7FdtWvKYLorWDmmZrjNd LhLuwdMsubQUBRhVuxMKnTv/559RsTpFZ1/iYMVtWzhCyeBpNFu9Nt/9+1gplvgcjbBz Vkkkm2+VBXfcrJXKWTtwFXyOsMbmiblAPKT1X+pvef5JWxTnZhMBuP0+6vsMPq6kYJgo vRlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706656442; x=1707261242; 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=T8BOaDX/3nN2EaexhvCYOL8Nx0Gef5sVSXcvwUb8P0w=; b=s2E0QFdqdOq43/Vw2YDqCGzODuD77CclHckR3tY73vxu56yVfUpaBzZ4cqPUKMEUz0 Q7cv4chiZvQNTKwkZSS0nY7qmZsDn8zEHfZqq9xrHn/5gX8e+oZvy78PLFWzVGTRjLe9 escgaJre3NjNcu0//IbJD0gazpOf3Alq6q799KhovV2iZPj5rp+BAhI88WFu7fE8QBab GXaoI+bR9z+O/TupHXUmoSIEhlYACkXrtc32RZ5Mi/dlXZr882YHAGEHIM3onbQbVTeb 82WGjbvHr8YAEH1mYg+9MDmR9QPULyRme7jBOE9omhFeo9bO58ngnmAVAzyErfoyozhp mhQw== X-Gm-Message-State: AOJu0YzPbxGjgU5ySHOZAeZeD3vz9S2Muk05UWW9hOrH7Ytp3T836xqP KgUfem5KFIWpffc1Dzbalm1Gb25qYDrljJjMBKZVhE0v1AFacBmH X-Received: by 2002:a17:903:2286:b0:1d9:1df6:6e23 with SMTP id b6-20020a170903228600b001d91df66e23mr53472plh.39.1706656441915; Tue, 30 Jan 2024 15:14:01 -0800 (PST) Received: from tresc054937.tre-sc.gov.br ([2804:c:204:200:2be:43ff:febc:c2fb]) by smtp.gmail.com with ESMTPSA id jx2-20020a170903138200b001d8f251c8b2sm3473203plb.221.2024.01.30.15.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:14:01 -0800 (PST) From: Luiz Angelo Daros de Luca Date: Tue, 30 Jan 2024 20:13:20 -0300 Subject: [PATCH net-next v5 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: <20240130-realtek_reverse-v5-1-ecafd9283a07@gmail.com> References: <20240130-realtek_reverse-v5-0-ecafd9283a07@gmail.com> In-Reply-To: <20240130-realtek_reverse-v5-0-ecafd9283a07@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=918; i=luizluca@gmail.com; h=from:subject:message-id; bh=Ozk2yGiD6MdjA0WNn2QypnKH2DYKdhiTR52YxHkZMW0=; b=owEBbQGS/pANAwAIAbsR27rRBztWAcsmYgBluYKwFKYr0qBJBz/xfInx52i8M9FYEXieNMMc4 Raun8PPrPWJATMEAAEIAB0WIQQRByhHhc1bOhL6L/i7Edu60Qc7VgUCZbmCsAAKCRC7Edu60Qc7 Vt3HCACwJQYSN8sKFrFLsMiOvwMFC4J3mEUATEVwSmugdv/xGq2HklwxlzUoNNn6zxN1YJUKuR3 P7q8112MsNOOgFblUHg+tfs+PXGlt3pdd4+7E27bpjvUQ2DgLnDZ9tKPe7X9IwfSpltF4Ie9ZEW s93+DHEmjqr1OpETIpM/NhIZMf9+PasN7+zYyBPnsWN78SvFhlDj54JcAU2YdR1UCFSekISmhnQ +jNkHReJ32ozplGNhgu11yUiXqCmdCBhBefSMydPNcFlRCUTOBKEsGHuKLSZ2L+aWSLh+ENS+Ca 6VXMVz8UHYe9Vb4w0gXTLFiMpflu2oKBda0iAgOHjBlMC6gA 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 --- 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