diff options
| author | 2017-11-28 16:19:52 +0000 | |
|---|---|---|
| committer | 2017-11-28 16:19:52 +0000 | |
| commit | 69830d3909849dee33b9a2de88ece3d59c75a1b8 (patch) | |
| tree | 67e22ac989e782ddc104f186dee54d1675e76923 /drivers/infiniband/hw/qib/qib_file_ops.c | |
| parent | ASoC: rk3399_gru_sound: Map BTN_0 to KEY_PLAYPAUSE (diff) | |
| parent | ASoC: add snd_soc_disconnect_sync() (diff) | |
| download | linux-dev-69830d3909849dee33b9a2de88ece3d59c75a1b8.tar.xz linux-dev-69830d3909849dee33b9a2de88ece3d59c75a1b8.zip  | |
Merge branch 'topic/disconnect' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-rcar
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_file_ops.c')
| -rw-r--r-- | drivers/infiniband/hw/qib/qib_file_ops.c | 9 | 
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c index 9396c1807cc3..2d6a191afec0 100644 --- a/drivers/infiniband/hw/qib/qib_file_ops.c +++ b/drivers/infiniband/hw/qib/qib_file_ops.c @@ -696,15 +696,8 @@ static void qib_clean_part_key(struct qib_ctxtdata *rcd,  			       struct qib_devdata *dd)  {  	int i, j, pchanged = 0; -	u64 oldpkey;  	struct qib_pportdata *ppd = rcd->ppd; -	/* for debugging only */ -	oldpkey = (u64) ppd->pkeys[0] | -		((u64) ppd->pkeys[1] << 16) | -		((u64) ppd->pkeys[2] << 32) | -		((u64) ppd->pkeys[3] << 48); -  	for (i = 0; i < ARRAY_SIZE(rcd->pkeys); i++) {  		if (!rcd->pkeys[i])  			continue; @@ -1817,7 +1810,6 @@ static int qib_close(struct inode *in, struct file *fp)  	struct qib_devdata *dd;  	unsigned long flags;  	unsigned ctxt; -	pid_t pid;  	mutex_lock(&qib_mutex); @@ -1859,7 +1851,6 @@ static int qib_close(struct inode *in, struct file *fp)  	spin_lock_irqsave(&dd->uctxt_lock, flags);  	ctxt = rcd->ctxt;  	dd->rcd[ctxt] = NULL; -	pid = rcd->pid;  	rcd->pid = 0;  	spin_unlock_irqrestore(&dd->uctxt_lock, flags);  | 
