]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-pciback: drop superfluous variables
authorJan Beulich <JBeulich@suse.com>
Wed, 6 Jul 2016 07:00:14 +0000 (01:00 -0600)
committerBob Liu <bob.liu@oracle.com>
Thu, 20 Oct 2016 07:59:32 +0000 (03:59 -0400)
commitfbfbc2058b4a0f9a7f42a808d720a9adab470bf3
tree67fdee392b9f3ae13f72315d5ffa69c7d3d76099
parentd21d00c26d8c47dd8c283afb6006a73c5dc9af7d
xen-pciback: drop superfluous variables

req_start is simply an alias of the "offset" function parameter, and
req_end is being used just once in each function. (And both variables
were loop invariant anyway, so should at least have got initialized
outside the loop.)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 1ad6344acfbf19288573b4a5fa0b07cbb5af27d7)
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Orabug: 24820937
drivers/xen/xen-pciback/conf_space.c