IB/mthca: Fix memory leak of multicast group structures
commit59f174faffd5dfee709fa0ead320cc6daf827e93
authorIshai Rabinovitz <ishai@mellanox.co.il>
Thu, 12 Jan 2006 23:24:51 +0000 (12 15:24 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 12 Jan 2006 23:24:51 +0000 (12 15:24 -0800)
treea0d6503074dd97e808cb98fc4779c40e3cbf6fef
parent988bd50300ef2e2d5cb8563e2ac99453dd9acd86
IB/mthca: Fix memory leak of multicast group structures

Convert "/ (1 << lg)" to ">> lg" for a slight code size reduction.

add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-24 (-24)
function                                     old     new   delta
mthca_map_cmd                                613     589     -24

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_cmd.c