Ignore:
Timestamp:
2020-01-09T01:04:58Z (4 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/drv/generic/remote_ieee80211.c

    r76c8209 r7fa8589  
    7979
    8080        if (res != EOK)
    81                 return (errno_t) res;
     81                return res;
    8282
    8383        return rc;
     
    144144
    145145                if (rc_orig == EOK)
    146                         return (errno_t) rc;
    147 
    148                 return (errno_t) rc_orig;
     146                        return rc;
     147
     148                return rc_orig;
    149149        }
    150150
     
    159159
    160160                if (rc_orig == EOK)
    161                         return (errno_t) rc;
    162 
    163                 return (errno_t) rc_orig;
     161                        return rc;
     162
     163                return rc_orig;
    164164        }
    165165
     
    182182        rc = dhcp_discover(link_id);
    183183
    184         return (errno_t) rc;
     184        return rc;
    185185}
    186186
Note: See TracChangeset for help on using the changeset viewer.