Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203421
b: refs/heads/master
c: 57b2eaf
h: refs/heads/master
i:
  203419: 4b62474
v: v3
  • Loading branch information
FUJITA Tomonori authored and David S. Miller committed Jul 9, 2010
1 parent e33de39 commit b49919b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 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: a204b48ed4dc31acf61090e530430ce3272b6aab
refs/heads/master: 57b2eaf7ddeae307fac202d82a6fabf5976e575b
14 changes: 5 additions & 9 deletions trunk/drivers/net/cxgb4vf/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,11 @@ static inline bool is_buf_mapped(const struct rx_sw_desc *sdesc)
*/
static inline int need_skb_unmap(void)
{
/*
* This structure is used to tell if the platfrom needs buffer
* unmapping by checking if DECLARE_PCI_UNMAP_ADDR defines anything.
*/
struct dummy {
DECLARE_PCI_UNMAP_ADDR(addr);
};

return sizeof(struct dummy) != 0;
#ifdef CONFIG_NEED_DMA_MAP_STATE
return 1;
#else
return 0;
#endif
}

/**
Expand Down

0 comments on commit b49919b

Please sign in to comment.