MIPS: Remove useless parentheses
Based on the spatch @@ expression e; @@ - return (e); + return e; with heavy hand editing because some of the changes are either whitespace or identation only or result in excessivly long lines. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -38,7 +38,7 @@ int ieee754dp_isnan(union ieee754dp x)
|
||||
static inline int ieee754dp_issnan(union ieee754dp x)
|
||||
{
|
||||
assert(ieee754dp_isnan(x));
|
||||
return ((DPMANT(x) & DP_MBIT(DP_FBITS-1)) == DP_MBIT(DP_FBITS-1));
|
||||
return (DPMANT(x) & DP_MBIT(DP_FBITS - 1)) == DP_MBIT(DP_FBITS - 1);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -38,7 +38,7 @@ int ieee754sp_isnan(union ieee754sp x)
|
||||
static inline int ieee754sp_issnan(union ieee754sp x)
|
||||
{
|
||||
assert(ieee754sp_isnan(x));
|
||||
return (SPMANT(x) & SP_MBIT(SP_FBITS-1));
|
||||
return SPMANT(x) & SP_MBIT(SP_FBITS - 1);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user