Commit 62424348 authored by Jeff Garzik's avatar Jeff Garzik

[hamradio baycom] Remove bogus check in interrupt handler

Tangentially noticed by Stanford checker.
parent 395ac660
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment