Changeset d06d4ab in rtems


Ignore:
Timestamp:
Feb 27, 2013, 9:40:13 AM (7 years ago)
Author:
Andreas Heinig <andreas.heinig@…>
Branches:
4.11, master
Children:
01eff24
Parents:
83b555f
git-author:
Andreas Heinig <andreas.heinig@…> (02/27/13 09:40:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/27/13 09:42:52)
Message:

dosfs: PR2092: Delete unused function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/fat.c

    r83b555f rd06d4ab  
    3030static int
    3131 _fat_block_release(fat_fs_info_t *fs_info);
    32 
    33 static ssize_t
    34  fat_cluster_read(fat_fs_info_t                       *fs_info,
    35                   uint32_t                             cln,
    36                   void                                *buff);
    3732
    3833static inline uint32_t
     
    391386{
    392387    return fat_buf_release(fs_info);
    393 }
    394 
    395 /* fat_cluster_read --
    396  *     wrapper for reading a whole cluster at once
    397  *
    398  * PARAMETERS:
    399  *     fs_info  - FS info
    400  *     cln      - number of cluster to read
    401  *     buff     - buffer provided by user
    402  *
    403  * RETURNS:
    404  *     bytes read on success, or -1 if error occured
    405  *     and errno set appropriately
    406  */
    407 ssize_t
    408 fat_cluster_read(
    409     fat_fs_info_t                        *fs_info,
    410     uint32_t                              cln,
    411     void                                 *buff
    412     )
    413 {
    414     uint32_t       fsec = 0;
    415 
    416     fsec = fat_cluster_num_to_sector_num(fs_info, cln);
    417 
    418     return _fat_block_read(fs_info, fsec, 0,
    419                            fs_info->vol.spc << fs_info->vol.sec_log2, buff);
    420388}
    421389
Note: See TracChangeset for help on using the changeset viewer.