From patchwork Tue Nov 13 17:28:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Mikityanskiy X-Patchwork-Id: 1735841 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id AD9203FC64 for ; Tue, 13 Nov 2012 17:29:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398Ab2KMR3E (ORCPT ); Tue, 13 Nov 2012 12:29:04 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:54986 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755393Ab2KMR3C (ORCPT ); Tue, 13 Nov 2012 12:29:02 -0500 Received: by mail-ee0-f46.google.com with SMTP id b15so4133183eek.19 for ; Tue, 13 Nov 2012 09:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=ghDOWmF+PYcwM09PYnoXNbtsCParSw3+UeVoq0kCwic=; b=Fyvricpt+o9kiR0C3QctCf75/SRtCQctBJk1cmz4ZmCKb5njJ+dHMWcE2LDLwnQmNw p7Vipys9Hz7s2Y/0vWk83kbofURCk3cFUbxVi5rSDAek3MX8UIMoWNdNO6zh4UHvz2Nr 9IKGMVP7z5AvW76q5tEJsfuTMbdW1PexJJ9rXApVivS6bupd0DbqivDlpVEk0SH7dskS IUkO/zCNJiHv/v4TySifWv0NthxV/LSjD0WeFK4jICd+xehvfiJ31WjK66v5Myrzvh2U ahnZLvkVaojjHer7BktFT5UdGDYN2s7PK28ljmMswR5L3AIeclow5S4bOjwIjkyIG7mK NxAA== Received: by 10.14.216.193 with SMTP id g41mr77213634eep.37.1352827741389; Tue, 13 Nov 2012 09:29:01 -0800 (PST) Received: from laptop.olymp.linuxd.org (78-22-179-94.pool.ukrtel.net. [94.179.22.78]) by mx.google.com with ESMTPS id 42sm23845800eee.0.2012.11.13.09.28.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 09:29:00 -0800 (PST) From: Maxim Mikityanskiy To: greg@kroah.com, Larry.Finger@lwfinger.net, linux-wireless@vger.kernel.org Cc: Maxim Mikityanskiy Subject: [PATCH 07/17] staging: rtl8187se: Removed unused module parameters and fixed module description Date: Tue, 13 Nov 2012 19:28:13 +0200 Message-Id: <1352827703-4659-8-git-send-email-maxtram95@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1352827703-4659-1-git-send-email-maxtram95@gmail.com> References: <1352827703-4659-1-git-send-email-maxtram95@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Removed confusing and unimplemented module parameters and fix NIC name in module description Signed-off-by: Maxim Mikityanskiy --- drivers/staging/rtl8187se/r8180_core.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index 8139f26..e741954 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/r8180_core.c @@ -61,28 +61,18 @@ static struct pci_device_id rtl8180_pci_id_tbl[] __devinitdata = { } }; - static char ifname[IFNAMSIZ] = "wlan%d"; -static int hwseqnum = 0; static int hwwep = 0; -static int channels = 0x3fff; MODULE_LICENSE("GPL"); MODULE_DEVICE_TABLE(pci, rtl8180_pci_id_tbl); MODULE_AUTHOR("Andrea Merello "); -MODULE_DESCRIPTION("Linux driver for Realtek RTL8180 / RTL8185 WiFi cards"); - +MODULE_DESCRIPTION("Linux driver for Realtek RTL8187SE WiFi cards"); module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR); -module_param(hwseqnum, int, S_IRUGO|S_IWUSR); module_param(hwwep, int, S_IRUGO|S_IWUSR); -module_param(channels, int, S_IRUGO|S_IWUSR); -MODULE_PARM_DESC(devname, " Net interface name, wlan%d=default"); -MODULE_PARM_DESC(hwseqnum, " Try to use hardware 802.11 header sequence numbers. Zero=default"); MODULE_PARM_DESC(hwwep, " Try to use hardware WEP support. Still broken and not available on all cards"); -MODULE_PARM_DESC(channels, " Channel bitmask for specific locales. NYI"); - static int __devinit rtl8180_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id);