From patchwork Tue Jun 11 23:07:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 250656 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 3C4D32C0082 for ; Wed, 12 Jun 2013 09:07:43 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756301Ab3FKXHh (ORCPT ); Tue, 11 Jun 2013 19:07:37 -0400 Received: from mail-lb0-f179.google.com ([209.85.217.179]:36095 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752443Ab3FKXHg (ORCPT ); Tue, 11 Jun 2013 19:07:36 -0400 Received: by mail-lb0-f179.google.com with SMTP id w20so8020822lbh.38 for ; Tue, 11 Jun 2013 16:07:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=to:subject:cc:from:organization:date:mime-version:content-type :content-transfer-encoding:message-id:x-gm-message-state; bh=FiHpQt6B38lKsKIO5Pu3QnG3c+LSHk76pG3zUg5ESgs=; b=eRZxO4i43vHZ3ztiQ5eBEkOz+D34uvcwtBNPbwxhUwvVpO7IsmYofFW7qg+/bOi9ta cpWKb8ecVraWR5axOgTsx9DcjLW9kCJti9Bf0Mn4u5YbOlBQz/r5A8UTSsWCJog+uCAL Ht4X9wEQ5isd7n0TiSunOCmZSgaBSPUoNR5AxYcyy1561x/pgn0aU3EOu90ujqLT/efL zkb5vCpMMSFtFHseDJpicIK4fwqqJAf+E217h5/czUfznCzn0U7FncJOMsvlcLii6pen Sde6UsT/6YPsdxwbJJfzhdhOB/kzpXmRpUngkqvqx590mU2k1e7xvs7T0iUe4KqQfJXC MDSw== X-Received: by 10.152.28.40 with SMTP id y8mr8638043lag.15.1370992054691; Tue, 11 Jun 2013 16:07:34 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (mail.dev.rtsoft.ru. [213.79.90.226]) by mx.google.com with ESMTPSA id z9sm7052438lae.7.2013.06.11.16.07.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 16:07:33 -0700 (PDT) To: netdev@vger.kernel.org Subject: [PATCH] sh_eth: remove '__maybe_unused' annotations Cc: nobuhiro.iwamatsu.yj@renesas.com, linux-sh@vger.kernel.org From: Sergei Shtylyov Organization: Cogent Embedded Date: Wed, 12 Jun 2013 03:07:29 +0400 MIME-Version: 1.0 Message-Id: <201306120307.29615.sergei.shtylyov@cogentembedded.com> X-Gm-Message-State: ALoCoQkpTQv2J58sfpSriyr9xf3cjyz5fqJUov4AsP4fExuEgmA5wu1u5pOHW/fIAKePbdv+Yypt Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Now that the SoC specific support is no longer done with help of #ifdef'fery, we no longer need '__maybe_unused' annotations to sh_eth_select_mii() and sh_eth_set_duplex()... Signed-off-by: Sergei Shtylyov --- The patch is against Dave Miller's 'net-next.git' repo. drivers/net/ethernet/renesas/sh_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: net-next/drivers/net/ethernet/renesas/sh_eth.c =================================================================== --- net-next.orig/drivers/net/ethernet/renesas/sh_eth.c +++ net-next/drivers/net/ethernet/renesas/sh_eth.c @@ -321,7 +321,7 @@ static int sh_eth_is_gether(struct sh_et return 0; } -static void __maybe_unused sh_eth_select_mii(struct net_device *ndev) +static void sh_eth_select_mii(struct net_device *ndev) { u32 value = 0x0; struct sh_eth_private *mdp = netdev_priv(ndev); @@ -345,7 +345,7 @@ static void __maybe_unused sh_eth_select sh_eth_write(ndev, value, RMII_MII); } -static void __maybe_unused sh_eth_set_duplex(struct net_device *ndev) +static void sh_eth_set_duplex(struct net_device *ndev) { struct sh_eth_private *mdp = netdev_priv(ndev);