nvmet-tcp: remove has_keyed_sgls initialization
authorMax Gurtovoy <maxg@mellanox.com>
Tue, 2 Jun 2020 13:15:45 +0000 (16:15 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 14:16:17 +0000 (16:16 +0200)
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>
drivers/nvme/target/tcp.c

index de9217cfd22d7f1420176645fdebb8d81d239979..1ce22b698f4ddca0cf1a49cd58a37ce29463f3ce 100644 (file)
@@ -1717,7 +1717,6 @@ static const struct nvmet_fabrics_ops nvmet_tcp_ops = {
        .owner                  = THIS_MODULE,
        .type                   = NVMF_TRTYPE_TCP,
        .msdbd                  = 1,
-       .has_keyed_sgls         = 0,
        .add_port               = nvmet_tcp_add_port,
        .remove_port            = nvmet_tcp_remove_port,
        .queue_response         = nvmet_tcp_queue_response,