net: pcnet: Move private data allocation to initialize
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 17 May 2020 14:26:00 +0000 (16:26 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 18 Jun 2020 17:34:40 +0000 (19:34 +0200)
commit246d2bfcf244326c43dcfffcecfdf684b8a4513d
treeb889a5e12f744c9b9b2c0ccb742c67017a4ff85a
parentae38e96c23f3d08e2ec49206a99271252f5b3dc2
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