• Chaitanya Kulkarni's avatar
    nvme: remove unused timeout parameter · 6b46fa02
    Chaitanya Kulkarni authored
    The function __nvme_submit_sync_cmd() has following list of callers
    that sets the timeout value to 0 :-
    
            Callers               |   Timeout value
    ------------------------------------------------
    nvme_submit_sync_cmd()        |        0
    nvme_features()               |        0
    nvme_sec_submit()             |        0
    nvmf_reg_read32()             |        0
    nvmf_reg_read64()             |        0
    nvmf_reg_write32()            |        0
    nvmf_connect_admin_queue()    |        0
    nvmf_connect_io_queue()       |        0
    
    Remove the timeout function parameter from __nvme_submit_sync_cmd() and
    adjust the rest of code accordingly.
    Signed-off-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    6b46fa02
core.c 131 KB