From 1a1e835ece3c4e5797f0a325ea89956ac55e2971 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Thu, 3 Jan 2013 15:53:09 +0100 Subject: [PATCH] --- yaml --- r: 354774 b: refs/heads/master c: cc5ab61086334e72afdf970c032fecf5e5fcf7ca h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/char/pcmcia/synclink_cs.c | 3 --- trunk/drivers/tty/synclink_gt.c | 2 -- trunk/drivers/tty/synclinkmp.c | 3 --- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/[refs] b/[refs] index c145710a92be..5204a3cabaf3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dabe2c1385cd53d91c0a318c0fb7d2c015c61458 +refs/heads/master: cc5ab61086334e72afdf970c032fecf5e5fcf7ca diff --git a/trunk/drivers/char/pcmcia/synclink_cs.c b/trunk/drivers/char/pcmcia/synclink_cs.c index f334aec65fc7..34e52ed0ea8c 100644 --- a/trunk/drivers/char/pcmcia/synclink_cs.c +++ b/trunk/drivers/char/pcmcia/synclink_cs.c @@ -765,9 +765,6 @@ static void bh_handler(struct work_struct *work) struct tty_struct *tty; int action; - if (!info) - return; - if (debug_level >= DEBUG_LEVEL_BH) printk( "%s(%d):bh_handler(%s) entry\n", __FILE__,__LINE__,info->device_name); diff --git a/trunk/drivers/tty/synclink_gt.c b/trunk/drivers/tty/synclink_gt.c index fced6acc74ee..ac8599a76820 100644 --- a/trunk/drivers/tty/synclink_gt.c +++ b/trunk/drivers/tty/synclink_gt.c @@ -1957,8 +1957,6 @@ static void bh_handler(struct work_struct *work) struct slgt_info *info = container_of(work, struct slgt_info, task); int action; - if (!info) - return; info->bh_running = true; while((action = bh_action(info))) { diff --git a/trunk/drivers/tty/synclinkmp.c b/trunk/drivers/tty/synclinkmp.c index e4a2904af565..545402509cab 100644 --- a/trunk/drivers/tty/synclinkmp.c +++ b/trunk/drivers/tty/synclinkmp.c @@ -2007,9 +2007,6 @@ static void bh_handler(struct work_struct *work) SLMP_INFO *info = container_of(work, SLMP_INFO, task); int action; - if (!info) - return; - if ( debug_level >= DEBUG_LEVEL_BH ) printk( "%s(%d):%s bh_handler() entry\n", __FILE__,__LINE__,info->device_name);