From 4c76539dbee082389e8ca954f8a5ae7b0ea9a66d Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 15 Apr 2013 10:29:11 -0400 Subject: [PATCH] --- yaml --- r: 370070 b: refs/heads/master c: e84cb41eb008fb42b357c55329c345f9a0375237 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/scsi/pmcraid.c | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/[refs] b/[refs] index cb38e404d666..13806900de61 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f0689f05371c6a7a33b4a4b85ecb6d1c79e2a371 +refs/heads/master: e84cb41eb008fb42b357c55329c345f9a0375237 diff --git a/trunk/drivers/scsi/pmcraid.c b/trunk/drivers/scsi/pmcraid.c index b46f5e906837..8e1b73775065 100644 --- a/trunk/drivers/scsi/pmcraid.c +++ b/trunk/drivers/scsi/pmcraid.c @@ -3598,19 +3598,6 @@ static int pmcraid_chr_open(struct inode *inode, struct file *filep) return 0; } -/** - * 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 * @@ -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