commit | f387771c2f5fe080047d6bc890ac81f1ec514d47 | [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 | 2b1c26a8155dc202b2829d9a8a68f047b35d0a08 [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>