All of lore.kernel.org
 help / color / mirror / Atom feed
From: Malcolm Priestley <tvboxspy@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-wireless@vger.kernel.org, Malcolm Priestley <tvboxspy@gmail.com>
Subject: [PATCH 31/34] staging: vt6656: device_init_registers remove unused variables
Date: Wed, 25 Jun 2014 21:20:08 +0100	[thread overview]
Message-ID: <1403727611-6825-32-git-send-email-tvboxspy@gmail.com> (raw)
In-Reply-To: <1403727611-6825-1-git-send-email-tvboxspy@gmail.com>

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/main_usb.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 5ce0caa..6479ced 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -241,10 +241,6 @@ static int device_init_registers(struct vnt_private *pDevice)
 {
 	struct vnt_cmd_card_init *init_cmd = &pDevice->init_command;
 	struct vnt_rsp_card_init *init_rsp = &pDevice->init_response;
-	u8 abyBroadcastAddr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
-	u8 abySNAP_RFC1042[ETH_ALEN] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00};
-	u8 abySNAP_Bridgetunnel[ETH_ALEN]
-		= {0xaa, 0xaa, 0x03, 0x00, 0x00, 0xf8};
 	u8 byAntenna;
 	int ii;
 	int ntStatus = STATUS_SUCCESS;
@@ -254,10 +250,6 @@ static int device_init_registers(struct vnt_private *pDevice)
 	DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "---->INIbInitAdapter. [%d][%d]\n",
 				DEVICE_INIT_COLD, pDevice->byPacketType);
 
-	memcpy(pDevice->abyBroadcastAddr, abyBroadcastAddr, ETH_ALEN);
-	memcpy(pDevice->abySNAP_RFC1042, abySNAP_RFC1042, ETH_ALEN);
-	memcpy(pDevice->abySNAP_Bridgetunnel, abySNAP_Bridgetunnel, ETH_ALEN);
-
 	if (!vnt_check_firmware_version(pDevice)) {
 		if (vnt_download_firmware(pDevice) == true) {
 			if (vnt_firmware_branch_to_sram(pDevice) == false) {
@@ -412,14 +404,8 @@ static int device_init_registers(struct vnt_private *pDevice)
 	pDevice->byAutoFBCtrl = AUTO_FB_0;
 
 	/* default Auto Mode */
-	/* pDevice->NetworkType = Ndis802_11Automode; */
-	pDevice->eConfigPHYMode = PHY_TYPE_AUTO;
 	pDevice->byBBType = BB_TYPE_11G;
 
-	/* get channel range */
-	pDevice->byMinChannel = 1;
-	pDevice->byMaxChannel = CB_MAX_CHANNEL;
-
 	/* get RFType */
 	pDevice->byRFType = init_rsp->rf_type;
 
-- 
1.9.1


  parent reply	other threads:[~2014-06-25 20:21 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 20:19 [PATCH 00/34] staging: vt6656: mac80211 conversion remove legacy code Malcolm Priestley
2014-06-25 20:19 ` [PATCH 01/34] staging: vt6656: dead code remove zonetypes Malcolm Priestley
2014-06-25 20:19 ` [PATCH 02/34] staging: vt6656: move life time macros to rxtx.h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 03/34] staging: vt6656: dpc remove dead code Malcolm Priestley
2014-06-25 20:19 ` [PATCH 04/34] staging: vt6656: main_usb removed " Malcolm Priestley
2014-06-25 20:19 ` [PATCH 05/34] staging: vt6656: deadcode iwctl.c/h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 06/34] staging: vt6656: wcmd remove dead code Malcolm Priestley
2014-06-25 20:19 ` [PATCH 07/34] staging: vt6656: rxtx " Malcolm Priestley
2014-06-25 20:19 ` [PATCH 08/34] staging: vt6656: dead code remove wmgr.c Malcolm Priestley
2014-06-25 20:19 ` [PATCH 09/34] staging: vt6656: dead code remove bssdb.c Malcolm Priestley
2014-06-25 20:19 ` [PATCH 10/34] staging: vt6656: dead code wpactl Malcolm Priestley
2014-06-25 20:19 ` [PATCH 11/34] staging: vt6656: dead code remove wpa2.c Malcolm Priestley
2014-06-25 20:19 ` [PATCH 12/34] staging: vt6656: remove dead code wpa Malcolm Priestley
2014-06-25 20:19 ` [PATCH 13/34] staging: vt6656: dead code remove wctl Malcolm Priestley
2014-06-25 20:19 ` [PATCH 14/34] staging: vt6656: dead code remove tkip.c/h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 15/34] staging: vt6656: dead code remove micheal.c/h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 16/34] staging: vt6656: dead code remove rc4.c/h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 17/34] staging: vt6656: dead code remove iowpa.h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 18/34] staging: vt6656: decode remove tether.c/h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 19/34] staging: vt6656: remove dead code datarate Malcolm Priestley
2014-06-25 20:19 ` [PATCH 20/34] staging: vt6656: dead code remove 80211mgr.c/h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 21/34] staging: vt6656: remove dead code from power.c/h Malcolm Priestley
2014-06-25 20:19 ` [PATCH 22/34] staging: vt6656: dead code remove old key functions Malcolm Priestley
2014-06-25 20:20 ` [PATCH 23/34] staging: vt6656: dead code remove tmacro.h Malcolm Priestley
2014-06-25 20:20 ` [PATCH 24/34] staging: vt6656: dead codead remove bssdb.h header Malcolm Priestley
2014-06-25 20:20 ` [PATCH 25/34] staging: vt6656: dpc remove dead code RXvMngWorkItem Malcolm Priestley
2014-06-25 20:20 ` [PATCH 26/34] staging: vt6656: Remove vnt_set_channel from device_init_registers Malcolm Priestley
2014-06-25 20:20 ` [PATCH 27/34] staging: vt6656: remove old rx receive list Malcolm Priestley
2014-06-25 20:20 ` [PATCH 28/34] staging: vt6656: dead code remove wmgr.h Malcolm Priestley
2014-06-25 20:20 ` [PATCH 29/34] staging: vt6656: remove old channel tables Malcolm Priestley
2014-06-25 20:20 ` [PATCH 30/34] staging: vt6656: dead code remove 80211hdr.h Malcolm Priestley
2014-06-25 20:20 ` Malcolm Priestley [this message]
2014-06-25 20:20 ` [PATCH 32/34] staging: vt6656: dead code remove variables device_set_options Malcolm Priestley
2014-06-25 20:20 ` [PATCH 33/34] staging: vt6656: device.h remove dead strutures and variables Malcolm Priestley
2014-06-25 20:20 ` [PATCH 34/34] staging: vt6656: remove unneeded config and headers Malcolm Priestley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403727611-6825-32-git-send-email-tvboxspy@gmail.com \
    --to=tvboxspy@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.