From patchwork Thu Jul 16 22:26:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 496930 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 87C7A140786 for ; Fri, 17 Jul 2015 08:26:50 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=NApYAnO5; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756397AbbGPW0o (ORCPT ); Thu, 16 Jul 2015 18:26:44 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:36324 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756227AbbGPW0m (ORCPT ); Thu, 16 Jul 2015 18:26:42 -0400 Received: by lbbpo10 with SMTP id po10so51710328lbb.3 for ; Thu, 16 Jul 2015 15:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sxhLvZpVVlvFZp+8angsuZNA29CDHrJc1mkgLN853Jo=; b=NApYAnO5buHBqHb55L7xD6ZU8h+p5ozg1gYk+1i29znj+JXj4+ylNTUSRXNOqt2zLL YElaXukMyUrMohaxVEIWEhUHSKPV2yhlfdr48MQNyDDMQQj0AkFQmLKrHZ6U84ciU4zn EF12a49ChXkk7GtAkH/r9wm6j6jH3DB3Ad3UbPAQVivRwqLyT9zVrPZtQZxW/wBWaGOF la6HNMsmZsGEW5Dmmg7oMt6iD3uK6mOojO4+Y4ahzHI7bBxDbJM3xNWPVLAFczKxrkqr YQAkS96oZCRx3x2nsQc48NnZm3/D+gzLGda/zjYik4agTzILL1nExoAcJhg/UB7Wuoqs pgeQ== X-Received: by 10.152.19.35 with SMTP id b3mr11343498lae.92.1437085601042; Thu, 16 Jul 2015 15:26:41 -0700 (PDT) Received: from localhost.localdomain (141.89-11-213.nextgentel.com. [89.11.213.141]) by smtp.gmail.com with ESMTPSA id lb8sm2347138lab.16.2015.07.16.15.26.40 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jul 2015 15:26:40 -0700 (PDT) From: Joachim Eastwood To: peppe.cavallaro@st.com, davem@davemloft.net Cc: Joachim Eastwood , netdev@vger.kernel.org Subject: [PATCH net-next 8/8] stmmac: drop custom_* fields from plat_stmmacenet_data Date: Fri, 17 Jul 2015 00:26:12 +0200 Message-Id: <1437085572-11371-9-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1437085572-11371-1-git-send-email-manabian@gmail.com> References: <1437085572-11371-1-git-send-email-manabian@gmail.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Both of these fields are unused and has been unused since they were added 3 and 5 years ago. Drop them since they are clearly not very useful. Signed-off-by: Joachim Eastwood --- Documentation/networking/stmmac.txt | 4 ---- include/linux/stmmac.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/Documentation/networking/stmmac.txt b/Documentation/networking/stmmac.txt index e655e2453c98..5fddefa69baf 100644 --- a/Documentation/networking/stmmac.txt +++ b/Documentation/networking/stmmac.txt @@ -139,8 +139,6 @@ struct plat_stmmacenet_data { void (*free)(struct platform_device *pdev, void *priv); int (*init)(struct platform_device *pdev, void *priv); void (*exit)(struct platform_device *pdev, void *priv); - void *custom_cfg; - void *custom_data; void *bsp_priv; }; @@ -186,8 +184,6 @@ Where: which will be stored in bsp_priv, and then passed to init and exit callbacks. init/exit callbacks should not use or modify platform data. - o custom_cfg/custom_data: this is a custom configuration that can be passed - while initializing the resources. o bsp_priv: another private pointer. For MDIO bus The we have: diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index c735f5c91eea..c86a20047cb1 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -123,8 +123,6 @@ struct plat_stmmacenet_data { void (*free)(struct platform_device *pdev, void *priv); int (*init)(struct platform_device *pdev, void *priv); void (*exit)(struct platform_device *pdev, void *priv); - void *custom_cfg; - void *custom_data; void *bsp_priv; };