From 6242434842721d611ef02f42435fc0fff186bda8 Mon Sep 17 00:00:00 2001
From: Jeff Garzik <jgarzik@redhat.com>
Date: Mon, 19 Apr 2004 04:39:30 -0400
Subject: [PATCH] [hamradio baycom] Remove bogus check in interrupt handler

Tangentially noticed by Stanford checker.
---
 drivers/net/hamradio/baycom_par.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/hamradio/baycom_par.c b/drivers/net/hamradio/baycom_par.c
index b4e68639d4ee..28e9da3db481 100644
--- a/drivers/net/hamradio/baycom_par.c
+++ b/drivers/net/hamradio/baycom_par.c
@@ -274,9 +274,6 @@ static void par96_interrupt(int irq, void *dev_id, struct pt_regs *regs)
 	struct net_device *dev = (struct net_device *)dev_id;
 	struct baycom_state *bc = netdev_priv(dev);
 
-	if (!dev || !bc || bc->hdrv.magic != HDLCDRV_MAGIC)
-		return;
-
 	baycom_int_freq(bc);
 	/*
 	 * check if transmitter active
-- 
2.30.9