mlx4_en: remove unnecessary returned value
authorZhu Yanjun <yanjun.zhu@oracle.com>
Mon, 24 Jul 2017 03:02:53 +0000 (23:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 23:29:55 +0000 (16:29 -0700)
commitf3eebe88195478b1bfbe8510d58a8c226ea759a8
treeb645f0ab0c914620aba7b735210ab2d6f288350e
parente470e4f787b94ba0a08cd3b49948e823416f5a6d
mlx4_en: remove unnecessary returned value

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 <joe.jin@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_cq.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h