commit | 292cf50d73f4b09cfe26739435a7307e2d2416e0 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Sun May 17 18:24:20 2020 +0200 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Mon Jun 29 22:36:35 2020 +0200 |
tree | 300358cf4bff803e4c7d14760ffbc9571584188a | |
parent | fd899d27e0e7076cb30da5e077e4fd189d16c068 [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>