Skip to content

Commit

Permalink
Staging: w35und: remove usb_submit_urb wrapper function
Browse files Browse the repository at this point in the history
No need for a simple wrapper here.

Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 1523ddc commit 7c12604
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/winbond/linux/wb35reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ Wb35Reg_EP0VM(phw_data_t pHwData )

reg->EP0vm_state = VM_RUNNING;

ret = wb_usb_submit_urb( urb );
ret = usb_submit_urb(urb, GFP_ATOMIC);

if (ret < 0) {
#ifdef _PE_REG_DUMP_
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/winbond/linux/wb35rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void Wb35Rx( phw_data_t pHwData )

pWb35Rx->EP3vm_state = VM_RUNNING;

retv = wb_usb_submit_urb(urb);
retv = usb_submit_urb(urb, GFP_ATOMIC);

if (retv != 0) {
printk("Rx URB sending error\n");
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/winbond/linux/wb35tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void Wb35Tx(phw_data_t pHwData)
Wb35Tx_complete, pHwData);

pWb35Tx->EP4vm_state = VM_RUNNING;
retv = wb_usb_submit_urb( pUrb );
retv = usb_submit_urb(pUrb, GFP_ATOMIC);
if (retv<0) {
printk("EP4 Tx Irp sending error\n");
goto cleanup;
Expand Down Expand Up @@ -240,7 +240,7 @@ void Wb35Tx_EP2VM(phw_data_t pHwData)
pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete, pHwData, 32);

pWb35Tx->EP2vm_state = VM_RUNNING;
retv = wb_usb_submit_urb( pUrb );
retv = usb_submit_urb(pUrb, GFP_ATOMIC);

if (retv < 0) {
#ifdef _PE_TX_DUMP_
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/winbond/linux/wbusb_f.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ void WbUsb_destroy(phw_data_t pHwData);
unsigned char WbWLanInitialize(struct wb35_adapter *adapter);
#define WbUsb_Stop( _A )

#define wb_usb_submit_urb(_A) usb_submit_urb(_A, GFP_ATOMIC)
#define wb_usb_alloc_urb(_A) usb_alloc_urb(_A, GFP_ATOMIC)

#define WbUsb_CheckForHang( _P )
Expand Down

0 comments on commit 7c12604

Please sign in to comment.