Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/root/root.c

    r428bd07 r3e6a98c5  
    208208        /*
    209209         * Register virtual devices root.
    210          * We warn on error occurrence because virtual devices shall not be
     210         * We ignore error occurrence because virtual devices shall not be
    211211         * vital for the system.
    212212         */
    213         int res = add_virtual_root_fun(dev);
    214         if (res != EOK)
    215                 ddf_msg(LVL_WARN, "Failed to add virtual child.");
     213        (void) add_virtual_root_fun(dev);
    216214
    217215        /* Register root device's children. */
    218         res = add_platform_fun(dev);
     216        int res = add_platform_fun(dev);
    219217        if (EOK != res)
    220218                ddf_msg(LVL_ERROR, "Failed adding child device for platform.");
Note: See TracChangeset for help on using the changeset viewer.