Changeset 7fa8589 in mainline for uspace/srv


Ignore:
Timestamp:
2020-01-09T01:04:58Z (6 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

Location:
uspace/srv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/locfs/locfs_ops.c

    r76c8209 r7fa8589  
    596596
    597597                /* Do not propagate EHANGUP back to VFS. */
    598                 if ((errno_t) rc == EHANGUP)
     598                if (rc == EHANGUP)
    599599                        rc = ENOTSUP;
    600600
     
    660660
    661661                /* Do not propagate EHANGUP back to VFS. */
    662                 if ((errno_t) rc == EHANGUP)
     662                if (rc == EHANGUP)
    663663                        rc = ENOTSUP;
    664664
  • uspace/srv/vfs/vfs_ops.c

    r76c8209 r7fa8589  
    444444        chunk->size = ipc_get_arg1(answer);
    445445
    446         return (errno_t) rc;
     446        return rc;
    447447}
    448448
     
    740740        vfs_exchange_release(exch);
    741741
    742         return (errno_t) rc;
     742        return rc;
    743743}
    744744
Note: See TracChangeset for help on using the changeset viewer.