]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/srpt: Drop pointless static qualifier in srpt_make_tpg()
authorYue Haibing <yuehaibing@huawei.com>
Thu, 15 Nov 2018 10:55:00 +0000 (10:55 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Nov 2018 23:10:27 +0000 (16:10 -0700)
commit89180e814aa3cfbdfceaaeed08b6ebab73b1e359
treec5ce852e99d7769766879263453e83ab4cbd1d80
parent2dc50c5a543148e2a02926214a786805dc4d947b
IB/srpt: Drop pointless static qualifier in srpt_make_tpg()

There is no need to have the 'struct se_portal_group *tpg' variable static
since new value always be assigned before use.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c