Changeset 3b47db6 in mainline for uspace/app/kio/kio.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/app/kio/kio.c

    rc81d4f1 r3b47db6  
    191191                fprintf(stderr, "%s: Unable to get number of kio pages\n",
    192192                    NAME);
    193                 return EXIT_RC(rc);
     193                return rc;
    194194        }
    195195       
     
    199199                fprintf(stderr, "%s: Unable to get kio physical address\n",
    200200                    NAME);
    201                 return EXIT_RC(rc);
     201                return rc;
    202202        }
    203203       
     
    209209        if (rc != EOK) {
    210210                fprintf(stderr, "%s: Unable to map kio\n", NAME);
    211                 return EXIT_RC(rc);
     211                return rc;
    212212        }
    213213       
     
    217217                fprintf(stderr, "%s: Unable to register kio notifications\n",
    218218                    NAME);
    219                 return EXIT_RC(rc);
     219                return rc;
    220220        }
    221221       
     
    224224                fprintf(stderr, "%s: Unable to create consumer fibril\n",
    225225                    NAME);
    226                 return EXIT_RC(ENOMEM);
     226                return ENOMEM;
    227227        }
    228228       
     
    230230        if (!input) {
    231231                fprintf(stderr, "%s: Could not create input\n", NAME);
    232                 return EXIT_RC(ENOMEM);
     232                return ENOMEM;
    233233        }
    234234
     
    253253                rc = EOK;
    254254
    255         return EXIT_RC(rc);
     255        return rc;
    256256}
    257257
Note: See TracChangeset for help on using the changeset viewer.