From: Zhu Yanjun
Date: Sun, 23 Jul 2017 23:02:53 -0400
> The function mlx4_en_arm_cq always returns zero. So change the
> return type of the function mlx4_en_arm_cq to void.
>
> CC: Joe Jin
> CC: Junxiao Bi
> Signed-off-by: Zhu Yanjun
Applied to net-next, thanks.
On Sun, Jul 23, 2017 at 11:02:53PM -0400, Zhu Yanjun wrote:
> The function mlx4_en_arm_cq always returns zero. So change the
> return type of the function mlx4_en_arm_cq to void.
>
> CC: Joe Jin
> CC: Junxiao Bi
> Signed-off-by: Zhu Yanjun
> ---
> drivers/net/ethernet/mellanox/mlx4/en_cq.c |
The function mlx4_en_arm_cq always returns zero. So change the
return type of the function mlx4_en_arm_cq to void.
CC: Joe Jin
CC: Junxiao Bi
Signed-off-by: Zhu Yanjun
---
drivers/net/ethernet/mellanox/mlx4/en_cq.c | 4 +---
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 2 +-
2 files change
On Wed, Jul 12, 2017 at 11:36:48AM +0300, Yuval Shaia wrote:
> On Wed, Jul 12, 2017 at 02:44:33AM -0400, Zhu Yanjun wrote:
> > The function __mlx4_zone_remove_one_entry always returns zero. So
> > it is not necessary to check it.
> >
> > Cc: Joe Jin
> > Cc: Junxiao Bi
> > Signed-off-by: Zhu Yanju
On Wed, Jul 12, 2017 at 02:44:33AM -0400, Zhu Yanjun wrote:
> The function __mlx4_zone_remove_one_entry always returns zero. So
> it is not necessary to check it.
>
> Cc: Joe Jin
> Cc: Junxiao Bi
> Signed-off-by: Zhu Yanjun
> ---
> drivers/net/ethernet/mellanox/mlx4/alloc.c | 7 +++
> 1 fi
The function __mlx4_zone_remove_one_entry always returns zero. So
it is not necessary to check it.
Cc: Joe Jin
Cc: Junxiao Bi
Signed-off-by: Zhu Yanjun
---
drivers/net/ethernet/mellanox/mlx4/alloc.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet