]> git.karo-electronics.de Git - karo-tx-linux.git/commit
RDMA/ocrdma: Don't memset() buffers we just allocated with kzalloc()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 5 Oct 2014 14:33:23 +0000 (16:33 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 10 Oct 2014 16:43:01 +0000 (09:43 -0700)
commitbeb9b703811736adfc608034d1f0d5cf0c8a7073
tree44b303789be34211f009caa35fbbfd5a20814a05
parente5dc9409933b21732a8c370e9f7cf79c2c92cbcb
RDMA/ocrdma: Don't memset() buffers we just allocated with kzalloc()

Get rid of obfuscating ocrdma_alloc_mqe() kzalloc() wrapper as all it
did was to make it less visible that the structure was already cleared
on allocation.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c