Commit 28aed9e3 authored by Moritz Muehlenhoff's avatar Moritz Muehlenhoff Committed by Greg Kroah-Hartman

Staging: wlan-ng: Remove dead code from hfa384x_usb.c

Signed-off-by: default avatarMoritz Muehlenhoff <jmm@debian.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7dd33a43
...@@ -2560,8 +2560,6 @@ hfa384x_drvr_handover( hfa384x_t *hw, u8 *addr); ...@@ -2560,8 +2560,6 @@ hfa384x_drvr_handover( hfa384x_t *hw, u8 *addr);
int int
hfa384x_drvr_hostscanresults( hfa384x_t *hw); hfa384x_drvr_hostscanresults( hfa384x_t *hw);
int int
hfa384x_drvr_low_level(hfa384x_t *hw, hfa384x_metacmd_t *cmd);
int
hfa384x_drvr_mmi_read(hfa384x_t *hw, u32 address, u32 *result); hfa384x_drvr_mmi_read(hfa384x_t *hw, u32 address, u32 *result);
int int
hfa384x_drvr_mmi_write(hfa384x_t *hw, u32 address, u32 data); hfa384x_drvr_mmi_write(hfa384x_t *hw, u32 address, u32 data);
......
...@@ -2318,18 +2318,6 @@ printk(KERN_WARNING "dlbuf@0x%06lx len=%d to=%d\n", dlbufaddr, hw->bufinfo.len, ...@@ -2318,18 +2318,6 @@ printk(KERN_WARNING "dlbuf@0x%06lx len=%d to=%d\n", dlbufaddr, hw->bufinfo.len,
writeoffset, writeoffset,
writebuf, writebuf,
writelen ); 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 */ /* set the download 'write flash' mode */
...@@ -2490,29 +2478,6 @@ int hfa384x_drvr_handover( hfa384x_t *hw, u8 *addr) ...@@ -2490,29 +2478,6 @@ int hfa384x_drvr_handover( hfa384x_t *hw, u8 *addr)
return -EIO; 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 * hfa384x_drvr_ramdl_disable
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment