Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266506
b: refs/heads/master
c: 970ba6a
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Sep 30, 2011
1 parent f7d21ff commit 8ea93f6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93a1df48d224296fb527d32fbec4d5162828feb4
refs/heads/master: 970ba6a64db9e8a01193d36a7345745527c30463
10 changes: 0 additions & 10 deletions trunk/drivers/net/wireless/rtlwifi/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,6 @@ static int _usb_nbytes_read_write(struct usb_device *udev, bool read, u32 addr,
return status;
}

static int _usb_readN_sync(struct rtl_priv *rtlpriv, u32 addr, u16 len,
u8 *pdata)
{
struct device *dev = rtlpriv->io.dev;

return _usb_nbytes_read_write(to_usb_device(dev), true, addr, len,
pdata);
}

static int _usb_writeN_async(struct rtl_priv *rtlpriv, u32 addr, u16 len,
u8 *pdata)
{
Expand All @@ -243,7 +234,6 @@ static void _rtl_usb_io_handler_init(struct device *dev,
rtlpriv->io.read8_sync = _usb_read8_sync;
rtlpriv->io.read16_sync = _usb_read16_sync;
rtlpriv->io.read32_sync = _usb_read32_sync;
rtlpriv->io.readN_sync = _usb_readN_sync;
}

static void _rtl_usb_io_handler_release(struct ieee80211_hw *hw)
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/rtlwifi/wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,6 @@ struct rtl_io {
u8(*read8_sync) (struct rtl_priv *rtlpriv, u32 addr);
u16(*read16_sync) (struct rtl_priv *rtlpriv, u32 addr);
u32(*read32_sync) (struct rtl_priv *rtlpriv, u32 addr);
int (*readN_sync) (struct rtl_priv *rtlpriv, u32 addr, u16 len,
u8 *pdata);

};

Expand Down

0 comments on commit 8ea93f6

Please sign in to comment.