diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-05-29 01:25:07 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-11 18:10:05 +0300 |
commit | 6acbd9619b153f2881c91e84cd36a9a2ce124565 (patch) | |
tree | b0001be13cd43eb34e402daae291573337065234 /crypto/sm3_generic.c | |
parent | 108a58585b196e31822c597891f2c83cea7aeb4a (diff) | |
download | linux-6acbd9619b153f2881c91e84cd36a9a2ce124565.tar.xz |
nvme-tcp: constify nvme_tcp_mq_ops and nvme_tcp_admin_mq_ops
nvme_tcp_mq_ops and nvme_tcp_admin_mq_ops are never modified and can be
made const to allow the compiler to put them in read-only memory.
Before:
text data bss dec hex filename
53102 6885 576 60563 ec93 drivers/nvme/host/tcp.o
After:
text data bss dec hex filename
53422 6565 576 60563 ec93 drivers/nvme/host/tcp.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/sm3_generic.c')
0 files changed, 0 insertions, 0 deletions