aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2018-07-23 09:10:09 +0100
committerDavid Sterba <[email protected]>2018-08-06 13:12:56 +0200
commitca5d2ba1ae2dfd651b798218d56c3277784fa499 (patch)
tree3b3a340395413502d9a3c5a2a374c1101adcd1b9 /net/unix/af_unix.c
parent5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70 (diff)
Btrfs: remove unused key assignment when doing a full send
At send.c:full_send_tree() we were setting the 'key' variable in the loop while never using it later. We were also using two btrfs_key variables to store the initial key for search and the key found in every iteration of the loop. So remove this useless key assignment and use the same btrfs_key variable to store the initial search key and the key found in each iteration. This was introduced in the initial send commit but was never used (commit 31db9f7c23fb ("Btrfs: introduce BTRFS_IOC_SEND for btrfs send/receive"). Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions