commit | fdf6cbe54d1bdf217bed9b117ed2a823ae5c8dc2 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun May 17 16:47:07 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Thu Jun 18 19:34:40 2020 +0200 |
tree | cbfc6fcd0830cd49c3d594afbd95a3a420779255 | |
parent | 60074d9d3ea048ea0ca369687aaaaed65695fc44 [diff] |
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>