aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/pmcraid.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index b46f5e906837..8e1b73775065 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)
3599} 3599}
3600 3600
3601/** 3601/**
3602 * pmcraid_release - char node "release" entry point
3603 */
3604static int pmcraid_chr_release(struct inode *inode, struct file *filep)
3605{
3606 struct pmcraid_instance *pinstance = filep->private_data;
3607
3608 filep->private_data = NULL;
3609 fasync_helper(-1, filep, 0, &pinstance->aen_queue);
3610
3611 return 0;
3612}
3613
3614/**
3615 * pmcraid_fasync - Async notifier registration from applications 3602 * pmcraid_fasync - Async notifier registration from applications
3616 * 3603 *
3617 * This function adds the calling process to a driver global queue. When an 3604 * This function adds the calling process to a driver global queue. When an
@@ -4167,7 +4154,6 @@ static long pmcraid_chr_ioctl(
4167static const struct file_operations pmcraid_fops = { 4154static const struct file_operations pmcraid_fops = {
4168 .owner = THIS_MODULE, 4155 .owner = THIS_MODULE,
4169 .open = pmcraid_chr_open, 4156 .open = pmcraid_chr_open,
4170 .release = pmcraid_chr_release,
4171 .fasync = pmcraid_chr_fasync, 4157 .fasync = pmcraid_chr_fasync,
4172 .unlocked_ioctl = pmcraid_chr_ioctl, 4158 .unlocked_ioctl = pmcraid_chr_ioctl,
4173#ifdef CONFIG_COMPAT 4159#ifdef CONFIG_COMPAT