mlx4_en: remove unnecessary returned value check
authorZhu Yanjun <yanjun.zhu@oracle.com>
Fri, 14 Jul 2017 03:01:27 +0000 (23:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jul 2017 21:29:49 +0000 (14:29 -0700)
commite36fef66f4bbe8a51e8f8334a058a42c0f16e373
treeadd657d8925bed4ab1213ac20eaabcb8051f0091
parentdfcc16c9d5b9c9c38fe18a91da63ab5af05d96ca
mlx4_en: remove unnecessary returned value check

The function __mlx4_zone_remove_one_entry always returns zero. So
it is not necessary to check it.

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: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/alloc.c