]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: cleanup an allocation a bit
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Sep 2012 01:01:33 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:30:33 +0000 (15:30 +1000)
commit5b4d42e420700be621302dd2e369f421bda3dc21
treedded8a6c3e29ab18a070c8505fc7108074d5d22d
parent988ebb893e1bbfa4e942e509034e9497ac361aba
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