]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: usb: gadget: ether: access network_started using local variable
authorMugunthan V N <mugunthanvnm@ti.com>
Fri, 18 Nov 2016 05:19:13 +0000 (10:49 +0530)
committerSimon Glass <sjg@chromium.org>
Sat, 3 Dec 2016 03:53:19 +0000 (20:53 -0700)
commit17b4f308cd3571e209e141b039aafb957f3096a5
treeef6aa19a0c216d40645e1d2d15125abeb35b83cd
parent4408f6f445acc242efc8dcf3c346ca3f3a9bc9f0
drivers: usb: gadget: ether: access network_started using local variable

network_started of struct eth_dev can be accessed using local
variable dev and no reason to access it with the global struct.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/gadget/ether.c