commit | 834d5cebe582eb71a2c76fc5c9078a3a85b1cafe | [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 | ab6ecbdc3c25761756538129c26d1396dd5b02a9 [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>