Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1538ec93 authored by Mike McCormack's avatar Mike McCormack Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: Remove dead code

parent 79694ebb
Loading
Loading
Loading
Loading
+11 −53
Original line number Diff line number Diff line
@@ -958,7 +958,7 @@ struct rtl8192_tx_ring {
typedef struct r8192_priv
{
	struct pci_dev *pdev;
	//added for maintain info from eeprom
	/* maintain info from eeprom */
	short epromtype;
	u16 eeprom_vid;
	u16 eeprom_did;
@@ -986,8 +986,6 @@ typedef struct r8192_priv
	spinlock_t ps_lock;

	u32 irq_mask;
//	short irq_enabled;
//	struct net_device *dev; //comment this out.
	short chan;
	short sens;
	/* RX stuff */
@@ -998,7 +996,6 @@ typedef struct r8192_priv
	int rxringcount;
	u16 rxbuffersize;


	struct sk_buff *rx_skb;
	u32 *rxring;
	u32 *rxringtail;
@@ -1009,45 +1006,22 @@ typedef struct r8192_priv
	/* TX stuff */
        struct rtl8192_tx_ring tx_ring[MAX_TX_QUEUE_COUNT];
	int txringcount;
//{
	//struct tx_pendingbuf txnp_pending;
	//struct tasklet_struct irq_tx_tasklet;

	struct tasklet_struct irq_rx_tasklet;
	struct tasklet_struct irq_tx_tasklet;
        struct tasklet_struct irq_prepare_beacon_tasklet;
	//	u8 chtxpwr[15]; //channels from 1 to 14, 0 not used
//	u8 chtxpwr_ofdm[15]; //channels from 1 to 14, 0 not used
//	u8 cck_txpwr_base;
//	u8 ofdm_txpwr_base;
//	u8 challow[15]; //channels from 1 to 14, 0 not used

	short up;
	short crcmon; //if 1 allow bad crc frame reception in monitor mode
//	short prism_hdr;

//	struct timer_list scan_timer;
	/*short scanpending;
	short stopscan;*/
//	spinlock_t scan_lock;
//	u8 active_probe;
	//u8 active_scan_num;
	struct semaphore wx_sem;
	struct semaphore rf_sem; //used to lock rf write operation added by wb, modified by david
//	short hw_wep;

//	short digphy;
//	short antb;
//	short diversity;
//	u8 cs_treshold;
//	short rcr_csense;
	u8 rf_type; //0 means 1T2R, 1 means 2T4R
	u8 rf_type; /* 0 means 1T2R, 1 means 2T4R */
	RT_RF_TYPE_819xU rf_chip;

//	u32 key0[4];
	short (*rf_set_sens)(struct net_device *dev,short sens);
	u8 (*rf_set_chan)(struct net_device *dev,u8 ch);
	void (*rf_close)(struct net_device *dev);
	void (*rf_init)(struct net_device *dev);
	//short rate;
	short promisc;
	/* stats */
	struct Stats stats;
@@ -1055,22 +1029,6 @@ typedef struct r8192_priv
	struct proc_dir_entry *dir_dev;

	/* RX stuff */
//	u32 *rxring;
//	u32 *rxringtail;
//	dma_addr_t rxringdma;

#ifdef THOMAS_BEACON
	u32 *oldaddr;
#endif
#ifdef THOMAS_TASKLET
	atomic_t irt_counter;//count for irq_rx_tasklet
#endif
#ifdef JACKSON_NEW_RX
        struct sk_buff **pp_rxskb;
        int     rx_inx;
#endif

/* modified by davad for Rx process */
	struct sk_buff_head rx_queue;
	struct sk_buff_head skb_queue;
	struct work_struct qos_activate;