OSDN Git Service

linux-pci-root: remove an unused assignment
authorPeter Jones <pjones@redhat.com>
Mon, 7 Jan 2019 16:32:41 +0000 (11:32 -0500)
committerPeter Jones <pjones@redhat.com>
Mon, 7 Jan 2019 18:44:39 +0000 (13:44 -0500)
scan-build gripes about this, and it's pointless, so it can go.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/linux-pci-root.c

index a2d9fb0..5d1df06 100644 (file)
@@ -115,7 +115,6 @@ dp_create_pci_root(struct device *dev UNUSED,
                         return new;
                 }
         }
-        off += new;
         sz += new;
 
         debug("returning %zd", sz);