patch-2.2.5 linux/drivers/block/rd.c
Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Mar 26 13:57:41 1999
- Orig file:
v2.2.4/linux/drivers/block/rd.c
- Orig date:
Wed Mar 10 15:29:45 1999
diff -u --recursive --new-file v2.2.4/linux/drivers/block/rd.c linux/drivers/block/rd.c
@@ -158,8 +158,6 @@
static int rd_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
{
- int err;
-
if (!inode || !inode->i_rdev)
return -EINVAL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)