]> Git Repo - u-boot.git/commit
net: pcnet: Pass private data through dev->priv
authorMarek Vasut <[email protected]>
Sun, 17 May 2020 16:24:20 +0000 (18:24 +0200)
committerDaniel Schwierzeck <[email protected]>
Mon, 29 Jun 2020 20:36:35 +0000 (22:36 +0200)
commit834d5cebe582eb71a2c76fc5c9078a3a85b1cafe
tree300358cf4bff803e4c7d14760ffbc9571584188a
parentab6ecbdc3c25761756538129c26d1396dd5b02a9
net: pcnet: Pass private data through dev->priv

Get rid of the global point to private data, and rather pass it
thought dev->priv. Also remove the unnecessary check for lp being
non-NULL, since it is always NULL at this point.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Joe Hershberger <[email protected]>
drivers/net/pcnet.c
This page took 0.026673 seconds and 4 git commands to generate.