Skip to content

Commit

Permalink
CAPI: Rename datahandle_queue -> ackqueue_entry
Browse files Browse the repository at this point in the history
This struct is describing a queue entry, not the queue itself.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jan Kiszka authored and David S. Miller committed Feb 17, 2010
1 parent a11ef7b commit 42651b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/isdn/capi/capi.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ struct capidev;
struct capincci;
struct capiminor;

struct datahandle_queue {
struct ackqueue_entry {
struct list_head list;
u16 datahandle;
};
Expand Down Expand Up @@ -156,7 +156,7 @@ static struct tty_driver *capinc_tty_driver;

static int capiminor_add_ack(struct capiminor *mp, u16 datahandle)
{
struct datahandle_queue *n;
struct ackqueue_entry *n;
unsigned long flags;

n = kmalloc(sizeof(*n), GFP_ATOMIC);
Expand All @@ -175,7 +175,7 @@ static int capiminor_add_ack(struct capiminor *mp, u16 datahandle)

static int capiminor_del_ack(struct capiminor *mp, u16 datahandle)
{
struct datahandle_queue *p, *tmp;
struct ackqueue_entry *p, *tmp;
unsigned long flags;

spin_lock_irqsave(&mp->ackqlock, flags);
Expand All @@ -194,7 +194,7 @@ static int capiminor_del_ack(struct capiminor *mp, u16 datahandle)

static void capiminor_del_all_ack(struct capiminor *mp)
{
struct datahandle_queue *p, *tmp;
struct ackqueue_entry *p, *tmp;
unsigned long flags;

spin_lock_irqsave(&mp->ackqlock, flags);
Expand Down

0 comments on commit 42651b5

Please sign in to comment.