Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122532
b: refs/heads/master
c: d2b8881
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and David S. Miller committed Dec 6, 2008
1 parent f029434 commit 2f73260
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 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: 8a1ec21e6c856b996cffcd4b33f037f6748a3ab4
refs/heads/master: d2b88814c6a63e4018cd299826907a12068ffdb7
10 changes: 5 additions & 5 deletions trunk/drivers/net/wan/x25_asy.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ static void x25_asy_encaps(struct x25_asy *sl, unsigned char *icp, int len)
static void x25_asy_write_wakeup(struct tty_struct *tty)
{
int actual;
struct x25_asy *sl = (struct x25_asy *) tty->disc_data;
struct x25_asy *sl = tty->disc_data;

/* First make sure we're connected. */
if (!sl || sl->magic != X25_ASY_MAGIC || !netif_running(sl->dev))
Expand Down Expand Up @@ -523,7 +523,7 @@ static int x25_asy_close(struct net_device *dev)
static void x25_asy_receive_buf(struct tty_struct *tty,
const unsigned char *cp, char *fp, int count)
{
struct x25_asy *sl = (struct x25_asy *) tty->disc_data;
struct x25_asy *sl = tty->disc_data;

if (!sl || sl->magic != X25_ASY_MAGIC || !netif_running(sl->dev))
return;
Expand Down Expand Up @@ -551,7 +551,7 @@ static void x25_asy_receive_buf(struct tty_struct *tty,

static int x25_asy_open_tty(struct tty_struct *tty)
{
struct x25_asy *sl = (struct x25_asy *) tty->disc_data;
struct x25_asy *sl = tty->disc_data;
int err;

if (tty->ops->write == NULL)
Expand Down Expand Up @@ -592,7 +592,7 @@ static int x25_asy_open_tty(struct tty_struct *tty)
*/
static void x25_asy_close_tty(struct tty_struct *tty)
{
struct x25_asy *sl = (struct x25_asy *) tty->disc_data;
struct x25_asy *sl = tty->disc_data;

/* First make sure we're connected. */
if (!sl || sl->magic != X25_ASY_MAGIC)
Expand Down Expand Up @@ -692,7 +692,7 @@ static void x25_asy_unesc(struct x25_asy *sl, unsigned char s)
static int x25_asy_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg)
{
struct x25_asy *sl = (struct x25_asy *) tty->disc_data;
struct x25_asy *sl = tty->disc_data;

/* First make sure we're connected. */
if (!sl || sl->magic != X25_ASY_MAGIC)
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/net/wireless/strip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ static void ResetRadio(struct strip *strip_info)

static void strip_write_some_more(struct tty_struct *tty)
{
struct strip *strip_info = (struct strip *) tty->disc_data;
struct strip *strip_info = tty->disc_data;

/* First make sure we're connected. */
if (!strip_info || strip_info->magic != STRIP_MAGIC ||
Expand Down Expand Up @@ -2259,7 +2259,7 @@ static void process_message(struct strip *strip_info)
static void strip_receive_buf(struct tty_struct *tty, const unsigned char *cp,
char *fp, int count)
{
struct strip *strip_info = (struct strip *) tty->disc_data;
struct strip *strip_info = tty->disc_data;
const unsigned char *end = cp + count;

if (!strip_info || strip_info->magic != STRIP_MAGIC
Expand Down Expand Up @@ -2594,7 +2594,7 @@ static struct strip *strip_alloc(void)

static int strip_open(struct tty_struct *tty)
{
struct strip *strip_info = (struct strip *) tty->disc_data;
struct strip *strip_info = tty->disc_data;

/*
* First make sure we're not already connected.
Expand Down Expand Up @@ -2665,7 +2665,7 @@ static int strip_open(struct tty_struct *tty)

static void strip_close(struct tty_struct *tty)
{
struct strip *strip_info = (struct strip *) tty->disc_data;
struct strip *strip_info = tty->disc_data;

/*
* First make sure we're connected.
Expand All @@ -2691,7 +2691,7 @@ static void strip_close(struct tty_struct *tty)
static int strip_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg)
{
struct strip *strip_info = (struct strip *) tty->disc_data;
struct strip *strip_info = tty->disc_data;

/*
* First make sure we're connected.
Expand Down

0 comments on commit 2f73260

Please sign in to comment.