net: cavium: liquidio: use kzalloc in setup_glist()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 9 Sep 2015 08:38:02 +0000 (10:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2015 00:06:00 +0000 (17:06 -0700)
commitce8e5c7035098fa5b8fea910f14be59b8cace81f
treed2bcb7fd3e259ac47736bbdf93eacbdae0a4015e
parentf53de1e9a4aaf8cbe08845da6f7ff26a078ac507
net: cavium: liquidio: use kzalloc in setup_glist()

We save a little .text and get rid of the sizeof(...) style
inconsistency.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c