tree-wide: fix needless borrows
found and fixed via clippy Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
@ -265,9 +265,9 @@ impl ScsiMediaChange for ScsiTapeChanger {
|
||||
}
|
||||
|
||||
let status = if USE_MTX {
|
||||
mtx::mtx_status(&self)
|
||||
mtx::mtx_status(self)
|
||||
} else {
|
||||
sg_pt_changer::status(&self)
|
||||
sg_pt_changer::status(self)
|
||||
};
|
||||
|
||||
match &status {
|
||||
|
Reference in New Issue
Block a user