diff options
| author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-22 16:43:57 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-09-23 17:33:39 -0400 |
| commit | a02cec2155fbea457eca8881870fd2de1a4c4c76 (patch) | |
| tree | cfbfc4b32bfe10f9cd803d46c31607d13f1858f5 /include/linux/skbuff.h | |
| parent | 6a08d194ee40806e0ccd5f36ed768e64cbfc979f (diff) | |
net: return operator cleanup
Change "return (EXPR);" to "return EXPR;"
return is not a function, parentheses are not required.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
| -rw-r--r-- | include/linux/skbuff.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 9e8085a8958..b2c41d19735 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -601,7 +601,7 @@ static inline int skb_queue_empty(const struct sk_buff_head *list) | |||
| 601 | static inline bool skb_queue_is_last(const struct sk_buff_head *list, | 601 | static inline bool skb_queue_is_last(const struct sk_buff_head *list, |
| 602 | const struct sk_buff *skb) | 602 | const struct sk_buff *skb) |
| 603 | { | 603 | { |
| 604 | return (skb->next == (struct sk_buff *) list); | 604 | return skb->next == (struct sk_buff *)list; |
| 605 | } | 605 | } |
| 606 | 606 | ||
| 607 | /** | 607 | /** |
| @@ -614,7 +614,7 @@ static inline bool skb_queue_is_last(const struct sk_buff_head *list, | |||
| 614 | static inline bool skb_queue_is_first(const struct sk_buff_head *list, | 614 | static inline bool skb_queue_is_first(const struct sk_buff_head *list, |
| 615 | const struct sk_buff *skb) | 615 | const struct sk_buff *skb) |
| 616 | { | 616 | { |
| 617 | return (skb->prev == (struct sk_buff *) list); | 617 | return skb->prev == (struct sk_buff *)list; |
| 618 | } | 618 | } |
| 619 | 619 | ||
| 620 | /** | 620 | /** |
| @@ -2156,7 +2156,7 @@ static inline u16 skb_get_rx_queue(const struct sk_buff *skb) | |||
| 2156 | 2156 | ||
| 2157 | static inline bool skb_rx_queue_recorded(const struct sk_buff *skb) | 2157 | static inline bool skb_rx_queue_recorded(const struct sk_buff *skb) |
| 2158 | { | 2158 | { |
| 2159 | return (skb->queue_mapping != 0); | 2159 | return skb->queue_mapping != 0; |
| 2160 | } | 2160 | } |
| 2161 | 2161 | ||
| 2162 | extern u16 skb_tx_hash(const struct net_device *dev, | 2162 | extern u16 skb_tx_hash(const struct net_device *dev, |
