Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173201
b: refs/heads/master
c: eb29b75
h: refs/heads/master
i:
  173199: 353a363
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 14, 2009
1 parent a33c54d commit f6d735b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5ee6dc9ebe8fc2640ee3fbf2c340bd853e2fd36
refs/heads/master: eb29b758a8b0b2dbffd8dc898490237d3ee783e4
10 changes: 0 additions & 10 deletions trunk/drivers/parisc/eisa_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,8 @@ static ssize_t eisa_eeprom_read(struct file * file,
return ret;
}

static int eisa_eeprom_ioctl(struct inode *inode, struct file *file,
unsigned int cmd,
unsigned long arg)
{
return -ENOTTY;
}

static int eisa_eeprom_open(struct inode *inode, struct file *file)
{
cycle_kernel_lock();

if (file->f_mode & FMODE_WRITE)
return -EINVAL;

Expand All @@ -104,7 +95,6 @@ static const struct file_operations eisa_eeprom_fops = {
.owner = THIS_MODULE,
.llseek = eisa_eeprom_llseek,
.read = eisa_eeprom_read,
.ioctl = eisa_eeprom_ioctl,
.open = eisa_eeprom_open,
.release = eisa_eeprom_release,
};
Expand Down

0 comments on commit f6d735b

Please sign in to comment.