diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-15 10:29:11 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:41:45 -0400 |
commit | e84cb41eb008fb42b357c55329c345f9a0375237 (patch) | |
tree | 078ce8a19f09311731d4b38b3097e0b9fbef5db6 /drivers/scsi/pmcraid.c | |
parent | f0689f05371c6a7a33b4a4b85ecb6d1c79e2a371 (diff) | |
download | op-kernel-dev-e84cb41eb008fb42b357c55329c345f9a0375237.zip op-kernel-dev-e84cb41eb008fb42b357c55329c345f9a0375237.tar.gz |
pmcraid: don't wank with fasync in ->release()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
-rw-r--r-- | drivers/scsi/pmcraid.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index b46f5e9..8e1b737 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c @@ -3599,19 +3599,6 @@ static int pmcraid_chr_open(struct inode *inode, struct file *filep) } /** - * pmcraid_release - char node "release" entry point - */ -static int pmcraid_chr_release(struct inode *inode, struct file *filep) -{ - struct pmcraid_instance *pinstance = filep->private_data; - - filep->private_data = NULL; - fasync_helper(-1, filep, 0, &pinstance->aen_queue); - - return 0; -} - -/** * pmcraid_fasync - Async notifier registration from applications * * This function adds the calling process to a driver global queue. When an @@ -4167,7 +4154,6 @@ static long pmcraid_chr_ioctl( static const struct file_operations pmcraid_fops = { .owner = THIS_MODULE, .open = pmcraid_chr_open, - .release = pmcraid_chr_release, .fasync = pmcraid_chr_fasync, .unlocked_ioctl = pmcraid_chr_ioctl, #ifdef CONFIG_COMPAT |