Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254612
b: refs/heads/master
c: 589e116
h: refs/heads/master
v: v3
  • Loading branch information
Jarod Wilson authored and Mauro Carvalho Chehab committed Jun 11, 2011
1 parent 0e7e572 commit bd50a9d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 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: 0ae90252d0b28265bc16cf272e72d62281f7baf1
refs/heads/master: 589e116062d8b5fd1809dfff4c9b7694ce6c2318
2 changes: 0 additions & 2 deletions trunk/drivers/media/rc/nuvoton-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,6 @@ static int nvt_open(struct rc_dev *dev)
unsigned long flags;

spin_lock_irqsave(&nvt->nvt_lock, flags);
nvt->in_use = true;
nvt_enable_cir(nvt);
spin_unlock_irqrestore(&nvt->nvt_lock, flags);

Expand All @@ -1004,7 +1003,6 @@ static void nvt_close(struct rc_dev *dev)
unsigned long flags;

spin_lock_irqsave(&nvt->nvt_lock, flags);
nvt->in_use = false;
nvt_disable_cir(nvt);
spin_unlock_irqrestore(&nvt->nvt_lock, flags);
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/media/rc/nuvoton-cir.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ struct nvt_dev {
struct ir_raw_event rawir;

spinlock_t nvt_lock;
bool in_use;

/* for rx */
u8 buf[RX_BUF_LEN];
Expand Down

0 comments on commit bd50a9d

Please sign in to comment.