Commit 2e6d7370 authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] sg.c: remove unused sg_jif_to_ms()

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent d62e70ea
......@@ -718,19 +718,6 @@ sg_common_write(Sg_fd * sfp, Sg_request * srp,
return 0;
}
static inline unsigned
sg_jif_to_ms(int jifs)
{
if (jifs <= 0)
return 0U;
else {
unsigned int j = (unsigned int) jifs;
return (j <
(UINT_MAX / 1000)) ? ((j * 1000) / HZ) : ((j / HZ) *
1000);
}
}
static int
sg_ioctl(struct inode *inode, struct file *filp,
unsigned int cmd_in, unsigned long arg)
......
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