diff options
| author | Chaitanya Kulkarni <[email protected]> | 2021-06-14 01:58:46 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-06-17 13:51:20 +0000 |
| commit | 46eca4702d93dbb8ac1c8fa84e5838fc8a1e82a0 (patch) | |
| tree | 5c7706dfa5dfe17cc4bb412bad6ac71697936286 /net/switchdev/switchdev.c | |
| parent | nvmet: make ver stable once connection established (diff) | |
| download | kernel-46eca4702d93dbb8ac1c8fa84e5838fc8a1e82a0.tar.gz kernel-46eca4702d93dbb8ac1c8fa84e5838fc8a1e82a0.zip | |
nvmet: use req->cmd directly in bdev-ns fast path
The function nvmet_bdev_parse_io_cmd() is called from the fast path.
The local variable to that function cmd is only used once.
Remove the local variable and use req->cmd directly.
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
