We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4beac commit da938e3Copy full SHA for da938e3
drivers/phy/hisilicon/phy-histb-combphy.c
@@ -73,7 +73,7 @@ static void nano_register_write(struct histb_combphy_priv *priv,
73
74
static int is_mode_fixed(struct histb_combphy_mode *mode)
75
{
76
- return (mode->fixed != PHY_NONE) ? true : false;
+ return mode->fixed != PHY_NONE;
77
}
78
79
static int histb_combphy_set_mode(struct histb_combphy_priv *priv)
0 commit comments