Changeset 3b47db6 in mainline for uspace/srv/bd/sata_bd/sata_bd.c


Ignore:
Timestamp:
2018-01-04T20:50:53Z (8 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/bd/sata_bd/sata_bd.c

    rc81d4f1 r3b47db6  
    253253        if (rc != EOK) {
    254254                printf(NAME ": Unable to register driver: %s.\n", str_error(rc));
    255                 return EXIT_RC(rc);
     255                return rc;
    256256        }
    257257       
     
    259259        if (rc != EOK) {
    260260                printf(NAME ": Cannot find SATA disks: %s.\n", str_error(rc));
    261                 return EXIT_RC(rc);
     261                return rc;
    262262        }
    263263
     
    265265        if (rc != EOK) {
    266266                printf("%s: Failed resolving category 'disk': %s.\n", NAME, str_error(rc));
    267                 return EXIT_RC(rc);
     267                return rc;
    268268        }
    269269
     
    274274                if (rc != EOK) {
    275275                        printf(NAME ": Unable to register device %s: %s\n", name, str_error(rc));
    276                         return EXIT_RC(rc);
     276                        return rc;
    277277                }
    278278
     
    281281                        printf("%s: Failed adding %s to category: %s.",
    282282                            NAME, disk[i].dev_name, str_error(rc));
    283                         return EXIT_RC(rc);
     283                        return rc;
    284284                }
    285285        }
Note: See TracChangeset for help on using the changeset viewer.