]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: cleanup an allocation a bit
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 26 Sep 2012 01:35:00 +0000 (11:35 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:29:01 +0000 (17:29 +1000)
commit3c4ae5374e25f973f12dbe9e893f234d5c90f40f
tree0a1ec01f99e877cd721db69dcc2709dbb15130d3
parent175014de396bfcf836866c350ba634eaf31973ac
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