IB/iser: Make a couple of functions static
authorRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 01:37:42 +0000 (18:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 01:37:42 +0000 (18:37 -0700)
commit41179e2de6962b46d1d9f2b4437243ac740efdec
tree1bde885003c2cbe1defc304db86667527dd4fbdc
parente4daf738683d9e87caf12f4249268d3c9ed2e00f
IB/iser: Make a couple of functions static

Make iser_conn_release() and iser_start_rdma_unaligned_sg() static,
since they are only used in the .c file where they are defined.  In
addition to being a cleanup, this even shrinks the generated code by
allowing the single call of iser_start_rdma_unaligned_sg() to be
inlined into its callsite.  On x86_64:

add/remove: 0/1 grow/shrink: 1/0 up/down: 466/-533 (-67)
function                                     old     new   delta
iser_reg_rdma_mem                           1518    1984    +466
iser_start_rdma_unaligned_sg                 533       -    -533

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c