]> git.baikalelectronics.ru Git - uboot.git/commit
net: pcnet: Move private data allocation to initialize
authorMarek Vasut <marek.vasut@gmail.com>
Sun, 17 May 2020 16:24:16 +0000 (18:24 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 29 Jun 2020 20:36:35 +0000 (22:36 +0200)
commitc8f4773a1406c4fa9d52299b2137285fbaeb3f2d
treed24c34f6b83a2e187bd6a84e97589ff3930b38fd
parentb71f73cd65be90c6ab11a56e1c09e2c468fea148
net: pcnet: Move private data allocation to initialize

The private data allocation does not have to be done every time the
NIC is initialized at run time, move the allocation to initialize
function, which means it will be done only once when the driver
starts.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/pcnet.c