Changeset 3b47db6 in mainline for uspace/srv/hid/isdv4_tablet/main.c


Ignore:
Timestamp:
2018-01-04T20:50:53Z (6 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/srv/hid/isdv4_tablet/main.c

    rc81d4f1 r3b47db6  
    315315        if (rc != EOK) {
    316316                printf("%s: Unable to register driver.\n", NAME);
    317                 return EXIT_RC(rc);
     317                return rc;
    318318        }
    319319
     
    322322        if (asprintf(&service_name, "mouse/isdv4-%" PRIun, svc_id) < 0) {
    323323                printf(NAME ": Unable to create service name\n");
    324                 return EXIT_RC(ENOMEM);
     324                return ENOMEM;
    325325        }
    326326
     
    328328        if (rc != EOK) {
    329329                printf(NAME ": Unable to register service %s.\n", service_name);
    330                 return EXIT_RC(rc);
     330                return rc;
    331331        }
    332332
Note: See TracChangeset for help on using the changeset viewer.