s2io.c: Use calculated size in kmallocs
authorJoe Perches <joe@perches.com>
Mon, 24 Aug 2009 17:29:42 +0000 (17:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2009 05:34:43 +0000 (22:34 -0700)
commit4f87032021be1aa0c3bb66b0c89d30cb35b57f8f
treee74a4870d18c7288a484836bb4211deb11a36b9f
parent13d866a9c912d6bc7133f4ef4d536c3a960b06cb
s2io.c: Use calculated size in kmallocs

Use consistent style.  Don't calculate the kmalloc size multiple times

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c