提交 987cd5f0 编写于 作者: P Pavel Machek (CIP) 提交者: Saeed Mahameed

net/mlx5: remove unreachable return

The last return statement is unreachable code. I'm not sure if it will
provoke any warnings, but it looks ugly.
Signed-off-by: NPavel Machek (CIP) <pavel@denx.de>
Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com>
上级 d490c83e
......@@ -435,8 +435,6 @@ static int mlx5_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin,
default:
return -EOPNOTSUPP;
}
return -EOPNOTSUPP;
}
static const struct ptp_clock_info mlx5_ptp_clock_info = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册