Changeset 7fa8589 in mainline for uspace/lib/c/generic/loader.c


Ignore:
Timestamp:
2020-01-09T01:04:58Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
bcd7775
Parents:
76c8209
git-author:
Matthieu Riolo <matthieu.riolo@…> (2020-01-05 20:21:10)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-01-09 01:04:58)
Message:

Removing unneeded casts from errno_t to errno_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/loader.c

    r76c8209 r7fa8589  
    102102        if (rc != EOK) {
    103103                async_forget(req);
    104                 return (errno_t) rc;
     104                return rc;
    105105        }
    106106
    107107        async_wait_for(req, &rc);
    108         return (errno_t) rc;
     108        return rc;
    109109}
    110110
     
    140140        if (rc != EOK) {
    141141                async_forget(req);
    142                 return (errno_t) rc;
     142                return rc;
    143143        }
    144144
    145145        async_wait_for(req, &rc);
    146         return (errno_t) rc;
     146        return rc;
    147147}
    148148
     
    174174        if (rc != EOK) {
    175175                async_forget(req);
    176                 return (errno_t) rc;
     176                return rc;
    177177        }
    178178
    179179        async_wait_for(req, &rc);
    180         return (errno_t) rc;
     180        return rc;
    181181}
    182182
     
    259259        if (rc != EOK) {
    260260                async_forget(req);
    261                 return (errno_t) rc;
     261                return rc;
    262262        }
    263263
    264264        async_wait_for(req, &rc);
    265         return (errno_t) rc;
     265        return rc;
    266266}
    267267
     
    296296        }
    297297
    298         return (errno_t) rc;
     298        return rc;
    299299}
    300300
Note: See TracChangeset for help on using the changeset viewer.