mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
nvmet-tcp: remove has_keyed_sgls initialization
Since the nvmet_tcp_ops is static, there is no need to initialize values to zero. Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Israel Rukshin <israelr@mellanox.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
b261b61c9e
commit
4e10255972
@ -1717,7 +1717,6 @@ static const struct nvmet_fabrics_ops nvmet_tcp_ops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.type = NVMF_TRTYPE_TCP,
|
.type = NVMF_TRTYPE_TCP,
|
||||||
.msdbd = 1,
|
.msdbd = 1,
|
||||||
.has_keyed_sgls = 0,
|
|
||||||
.add_port = nvmet_tcp_add_port,
|
.add_port = nvmet_tcp_add_port,
|
||||||
.remove_port = nvmet_tcp_remove_port,
|
.remove_port = nvmet_tcp_remove_port,
|
||||||
.queue_response = nvmet_tcp_queue_response,
|
.queue_response = nvmet_tcp_queue_response,
|
||||||
|
Loading…
Reference in New Issue
Block a user