diff options
author | Moritz Muehlenhoff <jmm@debian.org> | 2009-02-01 13:29:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:20 -0700 |
commit | 28aed9e3692efdb6d91bdd413288ffb9691cba46 (patch) | |
tree | a04f59b718f3303ff8e9214c93404af3e112b628 /drivers/staging/wlan-ng/hfa384x_usb.c | |
parent | 7dd33a43d5a8fe6f30697ac8295894e21d4cdc46 (diff) | |
download | op-kernel-dev-28aed9e3692efdb6d91bdd413288ffb9691cba46.zip op-kernel-dev-28aed9e3692efdb6d91bdd413288ffb9691cba46.tar.gz |
Staging: wlan-ng: Remove dead code from hfa384x_usb.c
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/hfa384x_usb.c')
-rw-r--r-- | drivers/staging/wlan-ng/hfa384x_usb.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 6dfbac3..b6b1e9c 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/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 */ @@ -2491,29 +2479,6 @@ int hfa384x_drvr_handover( hfa384x_t *hw, u8 *addr) } /*---------------------------------------------------------------- -* 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 * * Ends the ram download state. |