Re: [patch] aoe: cleanup an allocation a bit

2012-09-08 Thread Ed Cashin
Looks OK to me, thanks. On Sep 7, 2012, at 11:59 PM, "Dan Carpenter" wrote: > 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-b

[patch] aoe: cleanup an allocation a bit

2012-09-08 Thread Dan Carpenter
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 --- Only applies to linux-next. diff --git a/drivers/block/aoe/aoecmd.