]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: ns83820: code cleanup for ns83820_probe_phy()
authorMao Wenan <maowenan@huawei.com>
Tue, 19 Feb 2019 13:45:10 +0000 (21:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2019 22:08:19 +0000 (14:08 -0800)
commitc2a5994fbb5bf6ae3fcdcc9bbe323d62f8e28618
tree57ff3af544909e22c4903300066bf4426833ee8f
parent3b9c9f3b0b0293a52c0edd033d9df3a6b0e06f62
net: ns83820: code cleanup for ns83820_probe_phy()

This patch is to do code cleanup for ns83820_probe_phy().
It deletes unused variable 'first', commented out code,
and the pointless 'for' loop.

Signed-off-by: Mao Wenan <maowenan@huawei.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/natsemi/ns83820.c