From 7225da4ac6946700a4893df33f8e56746f852b1f Mon Sep 17 00:00:00 2001 From: Harshil Patel Date: Fri, 15 Sep 2023 10:41:45 -0700 Subject: [PATCH] stdlib, resources: Removed unused import Change-Id: Iee54cc695c7c8ce146719ef583be424b792e2232 --- src/python/gem5/resources/resource.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/python/gem5/resources/resource.py b/src/python/gem5/resources/resource.py index fd55995bbe..6b33f10971 100644 --- a/src/python/gem5/resources/resource.py +++ b/src/python/gem5/resources/resource.py @@ -25,7 +25,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. from abc import ABCMeta -import json import os from pathlib import Path from m5.util import warn, fatal @@ -800,7 +799,6 @@ def obtain_resource( # Once we know what AbstractResource subclass we are using, we create it. # The fields in the JSON object are assumed to map like-for-like to the # subclass contructor, so we can pass the resource_json map directly. - return resource_class(local_path=to_path, **resource_json)