Commit c13b8279 authored by kernel test robot's avatar kernel test robot Committed by Greg Kroah-Hartman

driver core: fw_devlink_relax_cycle() can be static

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20201218063934.GA66003@e60698be8304Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b0e2fa4f
...@@ -1519,7 +1519,7 @@ static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode) ...@@ -1519,7 +1519,7 @@ static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode)
* *
* Return 1 if a cycle is found. Otherwise, return 0. * Return 1 if a cycle is found. Otherwise, return 0.
*/ */
int fw_devlink_relax_cycle(struct device *con, void *sup) static int fw_devlink_relax_cycle(struct device *con, void *sup)
{ {
struct device_link *link; struct device_link *link;
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment