From patchwork Fri Dec 8 04:41:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luiz Angelo Daros de Luca X-Patchwork-Id: 13484763 X-Patchwork-Delegate: kuba@kernel.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IQH+reP4" Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A16D212E for ; Thu, 7 Dec 2023 20:51:45 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6ceb2501f1bso1154224b3a.0 for ; Thu, 07 Dec 2023 20:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702011104; x=1702615904; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sj+NGTLcVIm2x2Sna2sYJVoQeNn+dqA0+AshLQHmF+o=; b=IQH+reP4eDVUkB6BHPFkAV2l8z79FcUSwc3CD4gTsLV9FmRggyXR5Rox+R1lgLqn/C 0OZqCF9ROwym56ICRSGvbJw4dppqeL2jd9PZBqGxjw+0J+MI5+uzJUH0wDw/NdZxa0Pa 7oHA3ayVPfmQaC5zDIulQ7iAkPeRqyp4eEabkLMHyRcDz3Cnrr+5rM3qdHQFiaDeUOi9 tr53rrsQEzrYNx6CyYbThfZ1fpHKTZfP4eTD6THL/zplswm1MJ8OfWubwBosZPR8YWQj PNh7AbjGTG76p3Hm74+ioOE6Ly1owlNI9xLxDJRFLJKVTZj/Huri3SrHlngx7aPwoNK9 bCgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702011104; x=1702615904; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sj+NGTLcVIm2x2Sna2sYJVoQeNn+dqA0+AshLQHmF+o=; b=YCQedBQkJSYoVSwz0VLivEFqcSSe5yWDRBLDJNWtvH0lhvkKVB+MNcjXR8V2DTwPdR 8vJP9jwXpuJTWAETsF0GifMukd4IPmGNEBQ0qV7ey+a2UU/pKPBABwlvSVysUyhhjg4P Bx4ls8Uzt5mmdBlwRYQnBNUl7sVVQRp2QxfXBBdl2S1t8oPCWdA2Qdxq7R9glMKWHb4Y 91ImJlKoxQZ8Vmep5PQJXrtZnWTlrAWrHxfbDzSZWN9gpQtXxM8t45OnBEWIwm3dLimk mf5N7Kb9j8Mk16/XOfTLJWelw2E92/0aGILdKMA7BicDne2TaTXhmN0h96eZXUTI2PsL NXdg== X-Gm-Message-State: AOJu0Yzdt63dvNjtehocNc4hv8IgdbeFEbDf5hyYF4g2k+dX43+U8zo3 IDePu/ICmuFUj4y6QrQWBiwp6P61FT6jhBM4 X-Google-Smtp-Source: AGHT+IEA6Wcfhjn+312rzY5UMo1zhqifO11C3yBoAmFuBYkH8Z+lVVpGDfmiZ8j7i0NQujB2Yl5Myw== X-Received: by 2002:a05:6a00:1249:b0:6ce:3aca:c5f1 with SMTP id u9-20020a056a00124900b006ce3acac5f1mr4372705pfi.50.1702011104549; Thu, 07 Dec 2023 20:51:44 -0800 (PST) Received: from tresc054937.tre-sc.gov.br ([2804:c:204:200:2be:43ff:febc:c2fb]) by smtp.gmail.com with ESMTPSA id f18-20020a056a00229200b006cbae51f335sm657865pfe.144.2023.12.07.20.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 20:51:43 -0800 (PST) From: Luiz Angelo Daros de Luca To: netdev@vger.kernel.org Cc: linus.walleij@linaro.org, alsi@bang-olufsen.dk, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, arinc.unal@arinc9.com, Luiz Angelo Daros de Luca Subject: [PATCH net-next 1/7] net: dsa: realtek: drop cleanup from realtek_priv Date: Fri, 8 Dec 2023 01:41:37 -0300 Message-ID: <20231208045054.27966-2-luizluca@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231208045054.27966-1-luizluca@gmail.com> References: <20231208045054.27966-1-luizluca@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org It was never used and never referenced. Signed-off-by: Luiz Angelo Daros de Luca Reviewed-by: Alvin Šipraga --- 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,