Changeset 3b47db6 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2018-01-04T20:50:53Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
58e4d85
Parents:
c81d4f1
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
Message:

(optional) Remove EXIT_RC().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    rc81d4f1 r3b47db6  
    978978        if (rc != EOK) {
    979979                printf("Error: Failed to create driver port.\n");
    980                 return EXIT_RC(rc);
     980                return rc;
    981981        }
    982982       
     
    985985        if (rc != EOK) {
    986986                printf("Error: Failed to create devman port.\n");
    987                 return EXIT_RC(rc);
     987                return rc;
    988988        }
    989989       
     
    996996                    str_error(rc));
    997997               
    998                 return EXIT_RC(rc);
     998                return rc;
    999999        }
    10001000       
     
    10031003        if (rc != EOK) {
    10041004                printf("Error: Failed returning task value.\n");
    1005                 return EXIT_RC(rc);
     1005                return rc;
    10061006        }
    10071007       
Note: See TracChangeset for help on using the changeset viewer.