From patchwork Mon Mar 17 18:52:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Merello X-Patchwork-Id: 3845971 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A8CF9BF540 for ; Mon, 17 Mar 2014 18:52:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E39232021B for ; Mon, 17 Mar 2014 18:52:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1563A20219 for ; Mon, 17 Mar 2014 18:52:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750733AbaCQSwM (ORCPT ); Mon, 17 Mar 2014 14:52:12 -0400 Received: from mail-ee0-f47.google.com ([74.125.83.47]:36223 "EHLO mail-ee0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750706AbaCQSwL (ORCPT ); Mon, 17 Mar 2014 14:52:11 -0400 Received: by mail-ee0-f47.google.com with SMTP id b15so4429246eek.6 for ; Mon, 17 Mar 2014 11:52:10 -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; bh=xy3oyUjWk6iGxWFWu82sxm74ui2rWJ/xgi7IrbQx2ws=; b=rIYQLM/zIf66Z5AuaozsEvdJRgmGkK8nqfIs+lT4tvD3vcQ766Gt7a66Vfk4svMuXI sh5s/0zhpTflbNlHphQu/1XPJ7+8dt5aPcrUahrpEHXuqY7KKth0XAdVGo5lBjeByqjG Wb81IPhoGYJOhaOuAjAarW4KImv2Mcqj1qFfV5gWJu6UidZ1Pseqdn5Diouw9pwvCQ9f ZkNLsFqYIVgoVD0AuhhMOTewmtGTwX1apNUdwDNNyT7HVlASVtfc8xjiiNWG9/raaU/A bbYik11Sv1MF9/wv+xXAAIvu9Rrn7qYZ0Ghr1+lAjCnH6MnghY+WCxMKdHMswU/4TjCk rucw== X-Received: by 10.15.10.135 with SMTP id g7mr9842888eet.72.1395082330567; Mon, 17 Mar 2014 11:52:10 -0700 (PDT) Received: from localhost.localdomain (host227-121-dynamic.25-79-r.retail.telecomitalia.it. [79.25.121.227]) by mx.google.com with ESMTPSA id x45sm29005839eeu.23.2014.03.17.11.52.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Mar 2014 11:52:09 -0700 (PDT) From: Andrea Merello To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, Larry.Finger@lwfinger.net, bernhard@schiffner-limbach.de, dan.carpenter@oracle.com, Andrea Merello Subject: [PATCH] rtl818x: remove unused conf_erp callback from RF ops struct Date: Mon, 17 Mar 2014 19:52:42 +0100 Message-Id: <1395082362-12673-1-git-send-email-andrea.merello@gmail.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ERP configuration is now done outside RF code in both rtl8180 and rtl8187 drivers. The conf_erp callback in common RF ops struct is now useless. Remove it. Signed-off-by: Andrea Merello --- drivers/net/wireless/rtl818x/rtl818x.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/rtl818x/rtl818x.h b/drivers/net/wireless/rtl818x/rtl818x.h index fa7f7f6..1815b15 100644 --- a/drivers/net/wireless/rtl818x/rtl818x.h +++ b/drivers/net/wireless/rtl818x/rtl818x.h @@ -192,7 +192,6 @@ struct rtl818x_rf_ops { void (*init)(struct ieee80211_hw *); void (*stop)(struct ieee80211_hw *); void (*set_chan)(struct ieee80211_hw *, struct ieee80211_conf *); - void (*conf_erp)(struct ieee80211_hw *, struct ieee80211_bss_conf *); u8 (*calc_rssi)(u8 agc, u8 sq); };