Commit baff547c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Delete block/carmel.c's version of msleep()

parent 8365c315
...@@ -438,12 +438,6 @@ static int carm_bdev_ioctl(struct inode *ino, struct file *fil, ...@@ -438,12 +438,6 @@ static int carm_bdev_ioctl(struct inode *ino, struct file *fil,
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
static void msleep(unsigned long msecs)
{
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(msecs_to_jiffies(msecs));
}
static const u32 msg_sizes[] = { 32, 64, 128, CARM_MSG_SIZE }; static const u32 msg_sizes[] = { 32, 64, 128, CARM_MSG_SIZE };
static inline int carm_lookup_bucket(u32 msg_size) static inline int carm_lookup_bucket(u32 msg_size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment