summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-19 13:35:46 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-20 23:46:00 +0200
commit44fafdaa757cf251aade6c071f772ddb4e8a9885 (patch)
tree6660281d3b85f404a0ac6d62d9520bd0d9ba5381 /drivers/net/ethernet/ti
parentnet: ethernet: nb8800: fix error handling of nb8800_probe() (diff)
downloadlinux-44fafdaa757cf251aade6c071f772ddb4e8a9885.tar.xz
linux-44fafdaa757cf251aade6c071f772ddb4e8a9885.zip
net/mlx5: Use PTR_ERR_OR_ZERO() to simplify the code
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions