lkml.org 
[lkml]   [2004]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 3/6] sx8 remove duplicate definition msleep(), msecs_to_jiffies()



    remove duplicate definition msleep(), msecs_to_jiffies().
    delay.h already included.

    Signed-off-by: Maximilian Attems <janitor@sternwelten.at>


    ---

    linux-2.4.28-rc1-max/drivers/block/sx8.c | 11 -----------
    1 files changed, 11 deletions(-)

    diff -puN drivers/block/sx8.c~remove-msleep+msecs_to_jiffies-drivers_block_sx8 drivers/block/sx8.c
    --- linux-2.4.28-rc1/drivers/block/sx8.c~remove-msleep+msecs_to_jiffies-drivers_block_sx8 2004-10-31 13:37:56.000000000 +0100
    +++ linux-2.4.28-rc1-max/drivers/block/sx8.c 2004-10-31 13:38:56.000000000 +0100
    @@ -548,17 +548,6 @@ static int carm_bdev_ioctl(struct inode
    return -EOPNOTSUPP;
    }

    -static inline unsigned long msecs_to_jiffies(unsigned long msecs)
    -{
    - return ((HZ * msecs + 999) / 1000);
    -}
    -
    -static void msleep(unsigned long msecs)
    -{
    - set_current_state(TASK_UNINTERRUPTIBLE);
    - schedule_timeout(msecs_to_jiffies(msecs) + 1);
    -}
    -
    static const u32 msg_sizes[] = { 32, 64, 128, CARM_MSG_SIZE };

    static inline int carm_lookup_bucket(u32 msg_size)
    _
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:07    [W:0.040 / U:89.936 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site