OpenCloudOS-Kernel/drivers/net/ethernet/mellanox/mlx4
Zhu Yanjun f575a02ee7 mlx4_en: remove unnecessary error check
The function mlx4_en_get_profile always return zero. So it is not
necessary to check its return value.

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: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-24 17:26:32 -07:00
..
Kconfig ptp_clock: Allow for it to be optional 2016-11-16 09:26:34 +01:00
Makefile net/mlx4: New file for QoS related firmware commands 2015-04-02 16:25:02 -04:00
alloc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-20 16:33:39 -07:00
catas.c net/mlx4_core: Avoid command timeouts during VF driver device shutdown 2017-01-30 15:45:27 -05:00
cmd.c net/mlx4: fix spelling mistake: "enforcment" -> "enforcement" 2017-06-29 12:25:01 -04:00
cq.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
en_clock.c net/mlx4_en: fix overflow in mlx4_en_init_timestamp() 2017-02-26 15:39:43 -05:00
en_cq.c mlx4_en: remove unnecessary returned value 2017-07-24 16:29:55 -07:00
en_dcb_nl.c net/mlx4_en: Do not allocate redundant TX queues when TC is disabled 2017-06-29 15:56:15 -04:00
en_ethtool.c net/mlx4_en: Do not allocate redundant TX queues when TC is disabled 2017-06-29 15:56:15 -04:00
en_main.c mlx4_en: remove unnecessary error check 2017-07-24 17:26:32 -07:00
en_netdev.c net/mlx4_en: Do not allocate redundant TX queues when TC is disabled 2017-06-29 15:56:15 -04:00
en_port.c mlx4: add rx_alloc_pages counter in ethtool -S 2017-03-09 09:54:46 -08:00
en_port.h net/mlx4_en: Check the enabling pptx/pprx flags in SET_PORT wrapper flow 2017-01-30 15:26:43 -05:00
en_resources.c net/mlx4_en: Do not allocate redundant TX queues when TC is disabled 2017-06-29 15:56:15 -04:00
en_rx.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
en_selftest.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
en_tx.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
eq.c net/mlx4_core: Use cq quota in SRIOV when creating completion EQs 2017-02-23 10:57:57 -05:00
fw.c net/mlx4: Change ENOTSUPP to EOPNOTSUPP 2017-02-23 10:57:56 -05:00
fw.h mlx4: remove unused fields 2016-09-30 01:56:41 -04:00
fw_qos.c net/mlx4: Add mlx4_SET_VPORT_QOS implementation 2015-04-02 16:25:02 -04:00
fw_qos.h net/mlx4: Added qos_vport QP configuration in VST mode 2015-04-02 16:25:03 -04:00
icm.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
icm.h {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
intf.c net/mlx4: Change ENOTSUPP to EOPNOTSUPP 2017-02-23 10:57:56 -05:00
main.c mlx4_en: make mlx4_log_num_mgm_entry_size static 2017-07-03 02:41:26 -07:00
mcg.c net/mlx4: Fix the check in attaching steering rules 2017-06-04 23:10:05 -04:00
mlx4.h {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
mlx4_en.h mlx4_en: remove unnecessary returned value 2017-07-24 16:29:55 -07:00
mlx4_stats.h mlx4: add rx_alloc_pages counter in ethtool -S 2017-03-09 09:54:46 -08:00
mr.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
pd.c io-mapping: Specify mapping size for io_mapping_map_wc() 2016-04-28 12:17:32 +01:00
port.c net/mlx4_en: fix a condition 2017-02-06 12:01:06 -05:00
profile.c net/mlx4_core: use swap() in mlx4_make_profile() 2015-06-11 15:19:41 -07:00
qp.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
reset.c net/mlx4_core: Maintain a persistent memory for mlx4 device 2015-01-25 14:43:13 -08:00
resource_tracker.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00
sense.c
srq.c {net, IB}/mlx4: Remove gfp flags argument 2017-07-17 21:21:24 -04:00