]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: cleanup an allocation a bit
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 21 Sep 2012 01:03:31 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:52 +0000 (18:46 +1000)
commit7f76dd921f31dc5e6b58d643c6bf99dd4138b4eb
treeac5db363ee2ff0d6dc76ecda4ae5d34d275429a9
parent580a80cded096a5ed78d6ef7110c30ae33d58680
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