Dump URI listing check if redfish

This is not needed in case of redfish as it's get captured
as part of the /redfish/v1/ enumeration.

Change-Id: Id6f537384fd60d5d31c72f1862460a72d3000f37
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_methods.robot b/lib/openbmc_ffdc_methods.robot
index 475e412..ba43510 100755
--- a/lib/openbmc_ffdc_methods.robot
+++ b/lib/openbmc_ffdc_methods.robot
@@ -574,6 +574,8 @@
     [Documentation]  Collect dumps from dump entry.
     [Arguments]  ${log_prefix_path}=${LOG_PREFIX}
 
+    Return From Keyword If  ${REDFISH_SUPPORT_TRANS_STATE} == ${1}
+
     ${resp}=  OpenBMC Get Request  ${DUMP_URI}
     Run Keyword If  '${resp.status_code}' == '${HTTP_NOT_FOUND}'
     ...  Set Test Variable  ${DUMP_ENTRY_URI}  /xyz/openbmc_project/dump/entry/