]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: cleanup an allocation a bit
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Sep 2012 00:22:22 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:04:06 +0000 (15:04 +1000)
commitd12ef2db422ad0ee0f2e6fe06ceb16dceea5a69b
tree25d4b2284f7bda9e9a9c4c5a32d44b052cbc0eef
parent09223c96949e932de62af79fb35cf9692f691ac7
aoe: cleanup an allocation a bit

We changed this recently so we can just use kzalloc() here instead of
kcalloc(1, ...).  Kernel style prefers sizeof(*t) over sizeof *t.  The
kfree(t) is a no-op now as well so that can be removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoecmd.c