--- linux-2.4.29-pre2-bk2/drivers/block/sx8.c.orig 2004-12-21 23:03:31.000000000 +0200 +++ linux-2.4.29-pre2-bk2/drivers/block/sx8.c 2004-12-21 23:04:01.000000000 +0200 @@ -548,17 +548,6 @@ 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)