]> git.dujemihanovic.xyz Git - u-boot.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)
commitada6a2cea5a0d44c3bd64713babd9d73eaf64863
treed24c34f6b83a2e187bd6a84e97589ff3930b38fd
parent0e11d79a533e3c874be1c5975abbc52aaba94d93
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