Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130165
b: refs/heads/master
c: 0b491ee
h: refs/heads/master
i:
  130163: 73c11dc
v: v3
  • Loading branch information
Steve Glendinning authored and David S. Miller committed Jan 21, 2009
1 parent 5857a8f commit 7e63935
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 748085fcbedbf7b0f38d95e178265d7b13360b44
refs/heads/master: 0b491eee46012772cbf029450d123e933c2e7940
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/rndis_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1649,9 +1649,7 @@ static char *rndis_translate_scan(struct net_device *dev,
char *end_buf,
struct ndis_80211_bssid_ex *bssid)
{
#ifdef DEBUG
struct usbnet *usbdev = netdev_priv(dev);
#endif
u8 *ie;
char *current_val;
int bssid_len, ie_len, i;
Expand Down
4 changes: 3 additions & 1 deletion trunk/include/linux/usb/usbnet.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ extern int usbnet_nway_reset(struct net_device *net);
#define devdbg(usbnet, fmt, arg...) \
printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net->name , ## arg)
#else
#define devdbg(usbnet, fmt, arg...) do {} while(0)
#define devdbg(usbnet, fmt, arg...) \
({ if (0) printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net->name , \
## arg); 0; })
#endif

#define deverr(usbnet, fmt, arg...) \
Expand Down

0 comments on commit 7e63935

Please sign in to comment.