Skip to content

Commit c13b827

Browse files
intel-lab-lkpgregkh
authored andcommitted
driver core: fw_devlink_relax_cycle() can be static
Reported-by: kernel test robot <[email protected]> Signed-off-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/20201218063934.GA66003@e60698be8304 Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b0e2fa4 commit c13b827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode)
15191519
*
15201520
* Return 1 if a cycle is found. Otherwise, return 0.
15211521
*/
1522-
int fw_devlink_relax_cycle(struct device *con, void *sup)
1522+
static int fw_devlink_relax_cycle(struct device *con, void *sup)
15231523
{
15241524
struct device_link *link;
15251525
int ret;

0 commit comments

Comments
 (0)