diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2020-05-17 18:24:20 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-06-29 22:36:35 +0200 |
commit | 834d5cebe582eb71a2c76fc5c9078a3a85b1cafe (patch) | |
tree | 300358cf4bff803e4c7d14760ffbc9571584188a /net | |
parent | ab6ecbdc3c25761756538129c26d1396dd5b02a9 (diff) | |
download | u-boot-834d5cebe582eb71a2c76fc5c9078a3a85b1cafe.zip u-boot-834d5cebe582eb71a2c76fc5c9078a3a85b1cafe.tar.gz u-boot-834d5cebe582eb71a2c76fc5c9078a3a85b1cafe.tar.bz2 |
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 <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions