]> git.karo-electronics.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>
Wed, 26 Sep 2012 05:45:40 +0000 (15:45 +1000)
commit95a06e285db4882257d38c96ab272230780203ab
tree41680cb3e62410af76067edb92a84eff55d0ce4f
parent0c72f660b379b561aeb4a070f5ed4f450e11e56d
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