mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: return statements does not need parenthesis
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23979 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -190,12 +190,12 @@ static inline struct ag71xx_platform_data *ag71xx_get_pdata(struct ag71xx *ag)
|
||||
|
||||
static inline int ag71xx_desc_empty(struct ag71xx_desc *desc)
|
||||
{
|
||||
return ((desc->ctrl & DESC_EMPTY) != 0);
|
||||
return (desc->ctrl & DESC_EMPTY) != 0;
|
||||
}
|
||||
|
||||
static inline int ag71xx_desc_pktlen(struct ag71xx_desc *desc)
|
||||
{
|
||||
return (desc->ctrl & DESC_PKTLEN_M);
|
||||
return desc->ctrl & DESC_PKTLEN_M;
|
||||
}
|
||||
|
||||
/* Register offsets */
|
||||
|
||||
Reference in New Issue
Block a user