From 8e0c3ad6098e141c7589b2c0b3ab00bdd8425e1c Mon Sep 17 00:00:00 2001 From: Moritz Muehlenhoff Date: Sun, 1 Feb 2009 13:29:03 +0100 Subject: [PATCH] --- yaml --- r: 141184 b: refs/heads/master c: 28aed9e3692efdb6d91bdd413288ffb9691cba46 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/wlan-ng/hfa384x.h | 2 -- trunk/drivers/staging/wlan-ng/hfa384x_usb.c | 35 --------------------- 3 files changed, 1 insertion(+), 38 deletions(-) diff --git a/[refs] b/[refs] index 6ef3ceef9736..66626af28ad4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7dd33a43d5a8fe6f30697ac8295894e21d4cdc46 +refs/heads/master: 28aed9e3692efdb6d91bdd413288ffb9691cba46 diff --git a/trunk/drivers/staging/wlan-ng/hfa384x.h b/trunk/drivers/staging/wlan-ng/hfa384x.h index e72208674c7e..bbb5c58f99c3 100644 --- a/trunk/drivers/staging/wlan-ng/hfa384x.h +++ b/trunk/drivers/staging/wlan-ng/hfa384x.h @@ -2560,8 +2560,6 @@ hfa384x_drvr_handover( hfa384x_t *hw, u8 *addr); int hfa384x_drvr_hostscanresults( hfa384x_t *hw); int -hfa384x_drvr_low_level(hfa384x_t *hw, hfa384x_metacmd_t *cmd); -int hfa384x_drvr_mmi_read(hfa384x_t *hw, u32 address, u32 *result); int hfa384x_drvr_mmi_write(hfa384x_t *hw, u32 address, u32 data); diff --git a/trunk/drivers/staging/wlan-ng/hfa384x_usb.c b/trunk/drivers/staging/wlan-ng/hfa384x_usb.c index 6dfbac33aed5..b6b1e9c27842 100644 --- a/trunk/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/trunk/drivers/staging/wlan-ng/hfa384x_usb.c @@ -2318,18 +2318,6 @@ printk(KERN_WARNING "dlbuf@0x%06lx len=%d to=%d\n", dlbufaddr, hw->bufinfo.len, writeoffset, writebuf, writelen ); -#if 0 - -Comment out for debugging, assume the write was successful. - if (result) { - printk(KERN_ERR - "Write to dl buffer failed, " - "result=0x%04x. Aborting.\n", - result); - goto exit_proc; - } -#endif - } /* set the download 'write flash' mode */ @@ -2490,29 +2478,6 @@ int hfa384x_drvr_handover( hfa384x_t *hw, u8 *addr) return -EIO; } -/*---------------------------------------------------------------- -* hfa384x_drvr_low_level -* -* Write test commands to the card. Some test commands don't make -* sense without prior set-up. For example, continous TX isn't very -* useful until you set the channel. That functionality should be -* -* Side effects: -* -* Call context: -* process thread -* -----------------------------------------------------------------*/ -int hfa384x_drvr_low_level(hfa384x_t *hw, hfa384x_metacmd_t *cmd) -{ - int result; - - /* Do i need a host2hfa... conversion ? */ - - result = hfa384x_docmd_wait(hw, cmd); - - return result; -} - /*---------------------------------------------------------------- * hfa384x_drvr_ramdl_disable *